|
__init__(self,
methodName,
classCompiler,
initialMethodComment=None,
decorator=None) |
|
|
|
|
|
_appendToPrevStrConst(self,
strConst) |
|
|
|
|
|
|
|
_unescapeCheetahVars(self,
theString)
Unescape any escaped Cheetah \$vars in the string. |
|
|
|
_unescapeDirectives(self,
theString)
Unescape any escaped Cheetah \$vars in the string. |
|
|
|
|
|
|
|
|
|
addClosure(self,
functionName,
argsList,
parserComment) |
|
|
|
|
|
|
|
addEcho(self,
expr,
rawExpr=None) |
|
|
|
addElif(self,
expr,
dedent=True,
lineCol=None) |
|
|
|
addElse(self,
expr,
dedent=True,
lineCol=None) |
|
|
|
addExcept(self,
expr,
dedent=True,
lineCol=None) |
|
|
|
addFilteredChunk(self,
chunk,
filterArgs=None,
rawExpr=None,
lineCol=None) |
|
|
|
addFinally(self,
expr,
dedent=True,
lineCol=None) |
|
|
|
addFor(self,
expr,
lineCol=None) |
|
|
|
addIf(self,
expr,
lineCol=None)
For a full #if ... |
|
|
|
addInclude(self,
sourceExpr,
includeFrom,
isRaw) |
|
|
|
addIndentingDirective(self,
expr,
lineCol=None) |
|
|
|
addMethComment(self,
comm) |
|
|
|
addMethDocString(self,
line) |
|
|
|
|
|
|
|
|
|
addPlaceholder(self,
expr,
filterArgs,
rawPlaceholder,
cacheTokenParts,
lineCol,
silentMode=False) |
|
|
|
|
|
|
|
addReIndentingDirective(self,
expr,
dedent=True,
lineCol=None) |
|
|
|
addRepeat(self,
expr,
lineCol=None) |
|
|
|
|
|
addSet(self,
expr,
exprComponents,
setStyle) |
|
|
|
|
|
addStrConst(self,
strConst) |
|
|
|
addTernaryExpr(self,
conditionExpr,
trueExpr,
falseExpr,
lineCol=None)
For a single-lie #if ... |
|
|
|
addTry(self,
expr,
lineCol=None) |
|
|
|
addUnless(self,
expr,
lineCol=None) |
|
|
|
addWhile(self,
expr,
lineCol=None) |
|
|
|
addWriteChunk(self,
chunk) |
|
|
|
|
|
appendToPrevChunk(self,
appendage) |
|
|
|
cleanupState(self)
Called by the containing class compiler instance |
|
|
|
|
|
commitStrConst(self)
Add the code for outputting the pending strConst without chopping
off any whitespace from it. |
|
|
|
|
|
|
|
|
|
endCallRegion(self,
regionTitle=' CALL ' ) |
|
|
|
|
|
handleWSBeforeDirective(self)
Truncate the pending strCont to the beginning of the current
line. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nextCaptureRegionID(self) |
|
|
|
|
|
setCallArg(self,
argName,
lineCol) |
|
|
|
setErrorCatcher(self,
errorCatcherName) |
|
|
|
setFilter(self,
theFilter,
isKlass) |
|
|
|
setMethodName(self,
name) |
|
|
|
setMethodSignature(self,
signature) |
|
|
|
|
|
startCacheRegion(self,
cacheInfo,
lineCol,
rawPlaceholder=None) |
|
|
|
startCallRegion(self,
functionName,
args,
lineCol,
regionTitle=' CALL ' ) |
|
|
|
startCaptureRegion(self,
assignTo,
lineCol) |
|
|
|
turnErrorCatcherOff(self) |
|
|
|
|
|
|
Inherited from GenUtils :
addGetTextVar ,
genCacheInfo ,
genCacheInfoFromArgList ,
genCheetahVar ,
genNameMapperVar ,
genPlainVar ,
genTimeInterval
|