Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module Compiler :: Class MethodCompiler |
|
GenUtils
--+ |_SettingsCollector
--+ | | |SettingsManager
--+ | MethodCompiler
AutoMethodCompiler
Method Summary | |
---|---|
__init__(self,
methodName,
classCompiler,
settings)
| |
__str__(self)
| |
addChunk(self,
chunk)
| |
addElse(self,
expr)
| |
addExcept(self,
expr)
| |
addFilteredChunk(self,
chunk,
rawExpr)
| |
addFinally(self,
expr)
| |
addFor(self,
expr)
| |
addIf(self,
expr)
| |
addIndentingDirective(self,
expr)
| |
addLocalVars(self,
varnameList)
| |
addMethComment(self,
comm)
| |
addMethDocString(self,
line)
| |
addPSP(self,
PSP)
| |
addRawChunk(self,
chunk)
| |
addReIndentingDirective(self,
expr)
| |
addReturn(self,
expr)
| |
addSet(self,
LVALUE,
OP,
RVALUE,
isGlobal)
| |
addSilent(self,
expr)
| |
addStrConst(self,
strConst)
| |
addTry(self,
expr)
| |
addWhile(self,
expr)
| |
addWriteChunk(self,
chunk)
| |
appendToPrevChunk(self,
appendage)
| |
appendToPrevStrConst(self,
strConst)
| |
cacheID(self)
| |
cleanupState(self)
| |
commitStrConst(self)
| |
dedent(self)
| |
delLeadingWS(self)
| |
docString(self)
| |
endCacheRegion(self)
| |
indent(self)
| |
indentation(self)
| |
localVars(self)
| |
methodBody(self)
| |
methodDef(self)
| |
methodName(self)
| |
methodSignature(self)
| |
nextCacheID(self)
| |
setMethodName(self,
name)
| |
setMethodSignature(self,
signature)
| |
setupState(self)
| |
startCacheRegion(self,
cacheInfo,
lineCol)
| |
wrapCode(self)
| |
Inherited from SettingsManager | |
Returns a shallow copy of the settings dictionary... | |
Returns a deep copy of the settings dictionary... | |
Return a string with the settings in .ini file format. | |
True/False... | |
Set a setting in self._settings. | |
Get a setting from self._settings, with or without a default value. | |
Return a reference to the settings dictionary... | |
Update the settings with a selective merge or a complete overwrite. | |
Update the settings from a text file using the syntax accepted by Python's standard ConfigParser module (like Windows .ini files). | |
See the docstring for .updateSettingsFromConfigFile() The caller of this method is responsible for closing the inFile file object. | |
See the docstring for .updateSettingsFromConfigFile()... | |
Update the settings from variables in a Python source file. | |
Update the settings from a code in a Python src string. | |
Write all the settings that can be represented as strings to an .ini style config file. | |
Inherited from GenUtils | |
Decipher a placeholder cachetoken... | |
| |
| |
Generate valid Python code for a Cheetah $var, using NameMapper (Unified Dotted Notation with the SearchList). | |
Generate Python code for a Cheetah $var without using NameMapper (Unified Dotted Notation with the SearchList). | |
| |
Unescape any escaped Cheetah \$vars in the string. | |
Unescape any escaped Cheetah \$vars in the string. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:54 2003 | http://epydoc.sf.net |