Package com.helix.core.parser.ast
Class FieldAccessNode
java.lang.Object
com.helix.core.parser.ast.FieldAccessNode
- All Implemented Interfaces:
ExpressionNode
AST node representing context property and field navigation (e.g. user.age, ctx.amount).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(AstVisitor<R> visitor) Accepts an AST visitor.booleanResolves the full property path when the target chain consists of nested FieldAccessNodes or VariableNodes.inthashCode()toString()
-
Constructor Details
-
FieldAccessNode
-
-
Method Details
-
getTarget
-
getFieldName
-
getFullPath
Resolves the full property path when the target chain consists of nested FieldAccessNodes or VariableNodes. E.g. "user.profile.age"- Returns:
- dot-separated full property path
-
accept
Description copied from interface:ExpressionNodeAccepts an AST visitor.- Specified by:
acceptin interfaceExpressionNode- Type Parameters:
R- return type- Parameters:
visitor- the visitor- Returns:
- result from visitor
-
equals
-
hashCode
public int hashCode() -
toString
-