Package org.apache.commons.jexl3.parser
Class ASTIdentifierAccessJxlt
java.lang.Object
org.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
org.apache.commons.jexl3.parser.ASTIdentifierAccess
org.apache.commons.jexl3.parser.ASTIdentifierAccessJxlt
- All Implemented Interfaces:
JexlCache.Reference,JexlNode.JxltHandle,Node
- Direct Known Subclasses:
ASTIdentifierAccessSafeJxlt
x.`expr`.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl3.parser.JexlNode
JexlNode.Constant<T>, JexlNode.Funcall, JexlNode.Info, JexlNode.JxltHandle -
Field Summary
FieldsFields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests whether this is a Jxlt based identifier.voidSets the template expression.voidsetIdentifier(String src, Scope scope) Methods inherited from class org.apache.commons.jexl3.parser.ASTIdentifierAccess
getIdentifier, getName, isGlobalVar, isSafe, jjtAccept, setIdentifier, toStringMethods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getCache, getColumn, getLine, isConstant, isConstant, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jexlInfo, jjtSetFirstToken, jjtSetLastToken, setCacheMethods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, dumpOut, getId, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetChildren, jjtSetParent, jjtSetValue, toString
-
Field Details
-
jxltExpression
-
-
Constructor Details
-
ASTIdentifierAccessJxlt
ASTIdentifierAccessJxlt(int id)
-
-
Method Details
-
getExpressionSource
- Specified by:
getExpressionSourcein interfaceJexlNode.JxltHandle- Returns:
- The expression source.
-
getExpression
- Specified by:
getExpressionin interfaceJexlNode.JxltHandle- Returns:
- The expression instance, should be a TemplateEngine.TemplateExpression.
-
isExpression
public boolean isExpression()Description copied from class:ASTIdentifierAccessTests whether this is a Jxlt based identifier.- Overrides:
isExpressionin classASTIdentifierAccess- Returns:
- true if `..${...}...`, false otherwise
-
setExpression
Description copied from interface:JexlNode.JxltHandleSets the template expression.- Specified by:
setExpressionin interfaceJexlNode.JxltHandle- Parameters:
tp- A TemplateEngine.TemplateExpression instance
-
setIdentifier
-