Method Summary |
|
__init__(self,
className,
mainMethodName,
moduleCompiler,
fileName,
settingsManager)
|
|
__getattr__ (self,
name)
Provide access to the methods and attributes of the MethodCompiler
at the top of the activeMethods stack: one-way namespace sharing |
|
__str__(self)
|
|
addAttribute(self,
attribExpr)
|
|
addChunkToInit(self,
chunk)
|
|
addClassDocString(self,
line)
|
|
addDecorator (self,
decoratorExpr)
Set the decorator to be used with the next method in the source. |
|
addErrorCatcherCall(self,
codeChunk,
rawCode,
lineCol)
|
|
attributes(self)
|
|
classDef(self)
|
|
classDocstring(self)
|
|
className(self)
|
|
classSignature(self)
|
|
cleanupState(self)
|
|
closeBlock(self)
|
|
closeDef(self)
|
|
methodDefs(self)
|
|
setBaseClass(self,
baseClassName)
|
|
setClassName(self,
name)
|
|
setMainMethodName(self,
methodName)
|
|
setting(self,
key)
|
|
startMethodDef(self,
methodName,
argsList,
parserComment)
|
|
wrapClassDef(self)
|
|
_addSourceFileMonitoring(self,
fileName)
|
|
_finishedMethods(self)
|
|
_getActiveMethodCompiler(self)
|
|
_popActiveMethodCompiler(self)
|
|
_setActiveMethodCompiler(self,
methodCompiler)
|
|
_setupInitMethod(self)
|
|
_setupState(self)
|
|
_spawnMethodCompiler(self,
methodName,
klass,
initialMethodComment)
|
|
_swallowMethodCompiler(self,
methodCompiler,
pos)
|
Inherited from GenUtils |
|
addGetTextVar (self,
nameChunks)
Output something that gettext can recognize. |
|
genCacheInfo (self,
cacheTokenParts)
Decipher a placeholder cachetoken |
|
genCacheInfoFromArgList (self,
argList)
|
|
genCheetahVar (self,
nameChunks,
plain)
|
|
genNameMapperVar (self,
nameChunks)
Generate valid Python code for a Cheetah $var, using NameMapper
(Unified Dotted Notation with the SearchList). |
|
genPlainVar (self,
nameChunks)
Generate Python code for a Cheetah $var without using NameMapper
(Unified Dotted Notation with the SearchList). |
|
genTimeInterval (self,
timeString)
|