Class ObjectAccessExpression
java.lang.Object
dev.frostlake.executor.expressions.ObjectAccessExpression
- All Implemented Interfaces:
Expression
Represents object property access (e.g., data:name, json:address:city). The property path is kept as
its ordered segments straight from the parse tree —
[address, city] — so navigation never
re-splits a flattened string.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(ExpressionVisitor<T> visitor) Accept a visitor for the visitor patterngetBase()The property-path segments in order, e.g.toString()
-
Constructor Details
-
ObjectAccessExpression
-
-
Method Details
-
getBase
-
getPathParts
The property-path segments in order, e.g.[address, city]fordata:address.city. -
accept
Description copied from interface:ExpressionAccept a visitor for the visitor pattern- Specified by:
acceptin interfaceExpression
-
toString
-