This node type is also used for getter/setter properties in object literals. In this case the node bounds include the "get" or "set" keyword. The left-hand expression in this case is always a {@link Name}, and the overall node type is {@link Token#GET} or{@link Token#SET}, as appropriate.
The {@code operatorPosition} field is meaningless if the node isa getter or setter.
ObjectProperty : PropertyName : AssignmentExpression PropertyName : Identifier StringLiteral NumberLiteral
|
|