/ HappyDoc3-r3_1 / happydoclib / docset / docset_TAL / TAL / TALDefs.py
Common definitions used by TAL and METAL compilation an transformation.
Functions
|
|
|
getProgramMode
|
getProgramMode ( program )
|
|
parseSubstitution
|
parseSubstitution ( arg, position=( None, None ) )
Exceptions
|
|
TALError( "Bad syntax in substitution text: " + ` arg `, position )
|
|
|
splitParts
|
splitParts ( arg )
|
|
parseAttributeReplacements
|
parseAttributeReplacements ( arg )
Exceptions
|
|
TALError( "Bad syntax in attributes:" + ` part ` )
TALError( "Duplicate attribute name in attributes:" + ` part ` )
|
|
|
isCurrentVersion
|
isCurrentVersion ( program )
|
|
attrEscape
|
attrEscape ( s )
Replace special characters '&<> by character entities,
except when &' already begins a syntactically valid entity.
|
|
getProgramVersion
|
getProgramVersion ( program )
|
|
|