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:
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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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 boolean
isSafe()
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, parseIdentifier, setIdentifier, toString
-
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, getColumn, getLine, isConstant, isConstant, isLeftValue, isSafeLhs, isStrictOperator, jexlInfo, jjtSetFirstToken, jjtSetLastToken
-
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:ASTIdentifierAccess
Whether this is a dot or a question-mark-dot aka safe-navigation access.- Overrides:
isSafe
in classASTIdentifierAccess
- Returns:
- true is ?., false if .
-
-