Package org.apache.commons.jexl3.parser
Class ASTIdentifierAccessSafe
- 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.ASTIdentifierAccessSafe
-
- All Implemented Interfaces:
JexlCache.Reference,Node
public class ASTIdentifierAccessSafe extends ASTIdentifierAccess
x?.identifier .
-
-
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
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id
-
-
Constructor Summary
Constructors Constructor Description ASTIdentifierAccessSafe(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSafe()Tests whether this is a dot or a question-mark-dot aka safe-navigation access.-
Methods inherited from class org.apache.commons.jexl3.parser.ASTIdentifierAccess
getIdentifier, getName, isExpression, isGlobalVar, jjtAccept, setIdentifier, toString
-
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getCache, getColumn, getLine, isConstant, isConstant, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jexlInfo, jjtSetFirstToken, jjtSetLastToken, setCache
-
Methods 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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSafe
public boolean isSafe()
Description copied from class:ASTIdentifierAccessTests whether this is a dot or a question-mark-dot aka safe-navigation access.- Overrides:
isSafein classASTIdentifierAccess- Returns:
- true is ?., false if.
-
-