Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module Compiler :: Class ClassCompiler |
|
GenUtils
--+ |_SettingsCollector
--+ | | |SettingsManager
--+ | ClassCompiler
AutoClassCompiler
Method Summary | |
---|---|
__init__(self,
className,
mainMethodName,
templateObj,
fileName,
settings)
| |
Provide access to the methods and attributes of the MethodCompiler at the top of the activeMethods stack: one-way namespace sharing WARNING: Use .setMethods to assign the attributes of the MethodCompiler from the methods of this class!!! or you will be assigning to attributes of this object instead. | |
__str__(self)
| |
addAttribute(self,
attribExpr)
| |
addChunkToInit(self,
chunk)
| |
addClassDocString(self,
line)
| |
addErrorCatcher(self,
codeChunk,
rawCode,
lineCol)
| |
addSettingsToInit(self,
settingsStr,
settingsType)
| |
attributes(self)
| |
classDef(self)
| |
classDocstring(self)
| |
className(self)
| |
classSignature(self)
| |
cleanupState(self)
| |
finishedMethods(self)
| |
getActiveMethodCompiler(self)
| |
methodDefs(self)
| |
setActiveMethodCompiler(self,
methodCompiler)
| |
setBaseClass(self,
baseClass)
| |
setClassName(self,
name)
| |
setMainMethodName(self,
methodName)
| |
setupInitMethod(self)
| |
setupState(self)
| |
spawnMethodCompiler(self,
methodName,
klass)
| |
swallowMethodCompiler(self,
methodCompiler,
pos)
| |
wrapClassDef(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. |
Method Details |
---|
__getattr__(self,
name)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:10 2003 | http://epydoc.sf.net |