public class AutoEscaper extends DepthFirstAdapter
| Constructor and Description |
|---|
AutoEscaper(EscapeMode mode)
Create an AutoEscaper, which will apply the specified escaping mode.
|
AutoEscaper(EscapeMode mode,
String templateName)
Create an AutoEscaper, which will apply the specified escaping mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
caseAAltCommand(AAltCommand node) |
void |
caseACallCommand(ACallCommand node) |
void |
caseAContentTypeCommand(AContentTypeCommand node)
Handles a <?cs content-type: "content type" ?> command.
|
void |
caseACsOpenPosition(ACsOpenPosition node) |
void |
caseADataCommand(ADataCommand node) |
void |
caseADefCommand(ADefCommand node) |
void |
caseAEscapeCommand(AEscapeCommand node) |
void |
caseAEvarCommand(AEvarCommand node) |
void |
caseAHardIncludeCommand(AHardIncludeCommand node) |
void |
caseAHardLincludeCommand(AHardLincludeCommand node) |
void |
caseAIfCommand(AIfCommand node) |
void |
caseAIncludeCommand(AIncludeCommand node) |
void |
caseALincludeCommand(ALincludeCommand node) |
void |
caseALvarCommand(ALvarCommand node) |
void |
caseANameCommand(ANameCommand node) |
void |
caseAUvarCommand(AUvarCommand node) |
void |
caseAVarCommand(AVarCommand node) |
void |
caseStart(Start start) |
caseAAddExpression, caseAAndExpression, caseAAutoescapeCommand, caseACommaExpression, caseACommentCommand, caseADecimalExpression, caseADecNumberVariable, caseADescendVariable, caseADivideExpression, caseAEachCommand, caseAEqExpression, caseAExistsExpression, caseAExpandVariable, caseAFunctionExpression, caseAGteExpression, caseAGtExpression, caseAHexExpression, caseAHexNumberVariable, caseAInlineCommand, caseALoopCommand, caseALoopIncCommand, caseALoopToCommand, caseALteExpression, caseALtExpression, caseAModuloExpression, caseAMultipleCommand, caseAMultiplyExpression, caseANameVariable, caseANeExpression, caseANegativeExpression, caseANoopCommand, caseANoopExpression, caseANotExpression, caseANumericAddExpression, caseANumericEqExpression, caseANumericExpression, caseANumericNeExpression, caseAOrExpression, caseASequenceExpression, caseASetCommand, caseAStringExpression, caseASubtractExpression, caseAVariableExpression, caseAWithCommand, defaultIn, defaultOut, inAAddExpression, inAAltCommand, inAAndExpression, inAAutoescapeCommand, inACallCommand, inACommaExpression, inACommentCommand, inAContentTypeCommand, inACsOpenPosition, inADataCommand, inADecimalExpression, inADecNumberVariable, inADefCommand, inADescendVariable, inADivideExpression, inAEachCommand, inAEqExpression, inAEscapeCommand, inAEvarCommand, inAExistsExpression, inAExpandVariable, inAFunctionExpression, inAGteExpression, inAGtExpression, inAHardIncludeCommand, inAHardLincludeCommand, inAHexExpression, inAHexNumberVariable, inAIfCommand, inAIncludeCommand, inAInlineCommand, inALincludeCommand, inALoopCommand, inALoopIncCommand, inALoopToCommand, inALteExpression, inALtExpression, inALvarCommand, inAModuloExpression, inAMultipleCommand, inAMultiplyExpression, inANameCommand, inANameVariable, inANeExpression, inANegativeExpression, inANoopCommand, inANoopExpression, inANotExpression, inANumericAddExpression, inANumericEqExpression, inANumericExpression, inANumericNeExpression, inAOrExpression, inASequenceExpression, inASetCommand, inAStringExpression, inASubtractExpression, inAUvarCommand, inAVarCommand, inAVariableExpression, inAWithCommand, inStart, outAAddExpression, outAAltCommand, outAAndExpression, outAAutoescapeCommand, outACallCommand, outACommaExpression, outACommentCommand, outAContentTypeCommand, outACsOpenPosition, outADataCommand, outADecimalExpression, outADecNumberVariable, outADefCommand, outADescendVariable, outADivideExpression, outAEachCommand, outAEqExpression, outAEscapeCommand, outAEvarCommand, outAExistsExpression, outAExpandVariable, outAFunctionExpression, outAGteExpression, outAGtExpression, outAHardIncludeCommand, outAHardLincludeCommand, outAHexExpression, outAHexNumberVariable, outAIfCommand, outAIncludeCommand, outAInlineCommand, outALincludeCommand, outALoopCommand, outALoopIncCommand, outALoopToCommand, outALteExpression, outALtExpression, outALvarCommand, outAModuloExpression, outAMultipleCommand, outAMultiplyExpression, outANameCommand, outANameVariable, outANeExpression, outANegativeExpression, outANoopCommand, outANoopExpression, outANotExpression, outANumericAddExpression, outANumericEqExpression, outANumericExpression, outANumericNeExpression, outAOrExpression, outASequenceExpression, outASetCommand, outAStringExpression, outASubtractExpression, outAUvarCommand, outAVarCommand, outAVariableExpression, outAWithCommand, outStartcaseEOF, caseTAlt, caseTAnd, caseTArgWhitespace, caseTAssignment, caseTAutoescape, caseTBang, caseTBracketClose, caseTBracketOpen, caseTCall, caseTComma, caseTCommandDelimiter, caseTComment, caseTCommentStart, caseTContentType, caseTCsClose, caseTCsOpen, caseTData, caseTDecNumber, caseTDef, caseTDollar, caseTDot, caseTEach, caseTElse, caseTElseIf, caseTEq, caseTEscape, caseTEvar, caseTGt, caseTGte, caseTHardDelimiter, caseTHash, caseTHexNumber, caseTIf, caseTInclude, caseTInline, caseTLinclude, caseTLoop, caseTLt, caseTLte, caseTLvar, caseTMinus, caseTName, caseTNe, caseTOr, caseTParenClose, caseTParenOpen, caseTPercent, caseTPlus, caseTQuestion, caseTSet, caseTSlash, caseTStar, caseTString, caseTUvar, caseTVar, caseTWith, caseTWord, defaultCase, getIn, getOut, setIn, setOutpublic AutoEscaper(EscapeMode mode, String templateName)
mode - templateName - public AutoEscaper(EscapeMode mode)
mode - public void caseStart(Start start)
caseStart in interface AnalysiscaseStart in class DepthFirstAdapterpublic void caseADataCommand(ADataCommand node)
caseADataCommand in interface AnalysiscaseADataCommand in class DepthFirstAdapterpublic void caseADefCommand(ADefCommand node)
caseADefCommand in interface AnalysiscaseADefCommand in class DepthFirstAdapterpublic void caseAIfCommand(AIfCommand node)
caseAIfCommand in interface AnalysiscaseAIfCommand in class DepthFirstAdapterpublic void caseAEscapeCommand(AEscapeCommand node)
caseAEscapeCommand in interface AnalysiscaseAEscapeCommand in class DepthFirstAdapterpublic void caseACallCommand(ACallCommand node)
caseACallCommand in interface AnalysiscaseACallCommand in class DepthFirstAdapterpublic void caseALvarCommand(ALvarCommand node)
caseALvarCommand in interface AnalysiscaseALvarCommand in class DepthFirstAdapterpublic void caseAEvarCommand(AEvarCommand node)
caseAEvarCommand in interface AnalysiscaseAEvarCommand in class DepthFirstAdapterpublic void caseALincludeCommand(ALincludeCommand node)
caseALincludeCommand in interface AnalysiscaseALincludeCommand in class DepthFirstAdapterpublic void caseAIncludeCommand(AIncludeCommand node)
caseAIncludeCommand in interface AnalysiscaseAIncludeCommand in class DepthFirstAdapterpublic void caseAHardLincludeCommand(AHardLincludeCommand node)
caseAHardLincludeCommand in interface AnalysiscaseAHardLincludeCommand in class DepthFirstAdapterpublic void caseAHardIncludeCommand(AHardIncludeCommand node)
caseAHardIncludeCommand in interface AnalysiscaseAHardIncludeCommand in class DepthFirstAdapterpublic void caseAVarCommand(AVarCommand node)
caseAVarCommand in interface AnalysiscaseAVarCommand in class DepthFirstAdapterpublic void caseAAltCommand(AAltCommand node)
caseAAltCommand in interface AnalysiscaseAAltCommand in class DepthFirstAdapterpublic void caseANameCommand(ANameCommand node)
caseANameCommand in interface AnalysiscaseANameCommand in class DepthFirstAdapterpublic void caseAUvarCommand(AUvarCommand node)
caseAUvarCommand in interface AnalysiscaseAUvarCommand in class DepthFirstAdapterpublic void caseAContentTypeCommand(AContentTypeCommand node)
caseAContentTypeCommand in interface AnalysiscaseAContentTypeCommand in class DepthFirstAdapterpublic void caseACsOpenPosition(ACsOpenPosition node)
caseACsOpenPosition in interface AnalysiscaseACsOpenPosition in class DepthFirstAdapterCopyright © 2010–2015 Google. All rights reserved.