/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
, and the name (left side expression) is either a
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
, and the overall node type is
, as appropriate.
operatorPosition field is meaningless if the node is
a getter or setter.
ObjectProperty : PropertyName : AssignmentExpression PropertyName : Identifier StringLiteral NumberLiteral