|
do_setPosition
|
do_setPosition ( self, position )
|
|
saveState
|
saveState ( self )
|
|
no_tag
|
no_tag (
self,
start,
program,
)
|
|
macroContext
|
macroContext ( self, what )
|
|
do_onError
|
do_onError ( self, ( )
|
|
do_insertText_tal
|
do_insertText_tal ( self, stuff )
|
|
do_rawtextBeginScope_tal
|
do_rawtextBeginScope_tal ( self, ( )
|
|
insertXMLStructure
|
insertXMLStructure (
self,
text,
repldict,
)
|
|
do_loop_tal
|
do_loop_tal ( self, ( )
|
|
do_rawtextColumn
|
do_rawtextColumn ( self, ( )
|
|
__init__
|
__init__ (
self,
program,
macros,
engine,
stream=None,
debug=0,
wrap=60,
metal=1,
tal=1,
showtal=-1,
strictinsert=1,
stackLimit=100,
i18nInterpolate=1,
)
|
|
do_onError_tal
|
do_onError_tal ( self, ( )
|
|
do_mode
|
do_mode ( self, mode )
|
|
do_condition
|
do_condition ( self, ( )
|
|
do_rawtextOffset
|
do_rawtextOffset ( self, ( )
|
|
do_insertText
|
do_insertText ( self, stuff )
|
|
do_setLocal_tal
|
do_setLocal_tal ( self, ( )
|
|
do_beginI18nContext
|
do_beginI18nContext ( self, settings )
|
|
do_insertStructure
|
do_insertStructure ( self, stuff )
|
|
do_defineSlot
|
do_defineSlot ( self, ( )
|
|
do_loop
|
do_loop ( self, ( )
|
|
__call__
|
__call__ ( self )
|
|
do_fillSlot
|
do_fillSlot ( self, ( )
|
|
do_endI18nContext
|
do_endI18nContext ( self, notused=None )
|
|
do_beginScope_tal
|
do_beginScope_tal ( self, dict )
|
|
restoreState
|
restoreState ( self, state )
|
|
insertHTMLStructure
|
insertHTMLStructure (
self,
text,
repldict,
)
|
|
do_setLocal
|
do_setLocal ( self, notused )
|
|
do_insertTranslation
|
do_insertTranslation ( self, stuff )
|
|
do_setSourceFile
|
do_setSourceFile ( self, source_file )
|
|
do_startTag
|
do_startTag (
self,
(,
end=">",
endlen=1,
_len=len,
)
|
|
stream_write
|
stream_write (
self,
s,
len=len,
)
|
|
attrAction
|
attrAction ( self, item )
|
|
do_optTag
|
do_optTag (
self,
(,
omit=0,
)
|
|
attrAction_tal
|
attrAction_tal ( self, item )
|
|
do_insertStructure_tal
|
do_insertStructure_tal ( self, ( )
|
|
i18n_attribute
|
i18n_attribute ( self, s )
|
|
interpret
|
interpret ( self, program )
|
|
do_version
|
do_version ( self, version )
|
|
do_optTag_tal
|
do_optTag_tal ( self, stuff )
|
|
translate
|
translate (
self,
msgid,
i18ndict=None,
obj=None,
)
|
|
StringIO
|
StringIO ( self )
|
|
pushMacro
|
pushMacro (
self,
macroName,
slots,
entering=1,
)
Exceptions
|
|
METALError("macro nesting limit (%d) exceeded " "by %s" %( self.stackLimit, ` macroName ` ) )
|
|
|
do_beginScope
|
do_beginScope ( self, dict )
|
|
restoreOutputState
|
restoreOutputState ( self, state )
|
|
dumpMacroStack
|
dumpMacroStack (
self,
prefix,
suffix,
value,
)
|
|
do_startEndTag
|
do_startEndTag ( self, stuff )
|
|
do_useMacro
|
do_useMacro ( self, ( )
Exceptions
|
|
METALError( "macro %s has incompatible mode %s" %( ` macroName `, ` mode ` ), self.position )
METALError( "macro %s has incompatible version %s" %( ` macroName `, ` getProgramVersion( macro ) ` ), self.position )
|
|
|
do_endScope
|
do_endScope ( self, notused=None )
|
|
do_defineMacro
|
do_defineMacro ( self, ( )
|
|
interpretWithStream
|
interpretWithStream (
self,
program,
stream,
)
|
|
do_setGlobal_tal
|
do_setGlobal_tal ( self, ( )
|
|
do_rawtextBeginScope
|
do_rawtextBeginScope ( self, ( )
|
|
do_i18nVariable
|
do_i18nVariable ( self, stuff )
|
|
popMacro
|
popMacro ( self )
|
|