ObjectLiteralTree.java revision 1604:6f34826bbfdc
18791Sjkh/*
28791Sjkh * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
38791Sjkh * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
48791Sjkh *
58791Sjkh * This code is free software; you can redistribute it and/or modify it
68791Sjkh * under the terms of the GNU General Public License version 2 only, as
738570Sjkh * published by the Free Software Foundation.  Oracle designates this
88791Sjkh * particular file as subject to the "Classpath" exception as provided
98791Sjkh * by Oracle in the LICENSE file that accompanied this code.
108791Sjkh *
118791Sjkh * This code is distributed in the hope that it will be useful, but WITHOUT
128791Sjkh * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
138791Sjkh * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
148791Sjkh * version 2 for more details (a copy is included in the LICENSE file that
158791Sjkh * accompanied this code).
168791Sjkh *
178791Sjkh * You should have received a copy of the GNU General Public License version
188881Srgrimes * 2 along with this work; if not, write to the Free Software Foundation,
198881Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
208791Sjkh *
218791Sjkh * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
228791Sjkh * or visit www.oracle.com if you need additional information or have any
238791Sjkh * questions.
248791Sjkh */
258791Sjkh
268791Sjkhpackage jdk.nashorn.api.tree;
278791Sjkh
288791Sjkhimport java.util.List;
298791Sjkh
308791Sjkh/**
318791Sjkh * Represents ECMAScript object literal expression.
328791Sjkh *
338791Sjkh * @since 9
348791Sjkh */
358791Sjkhpublic interface ObjectLiteralTree extends ExpressionTree {
368791Sjkh    /**
378791Sjkh     * Returns the list of properties of this object literal.
388791Sjkh     *
398803Sjkh     * @return the list of properties of this object literal
408791Sjkh     */
418791Sjkh    public List<? extends PropertyTree> getProperties();
428791Sjkh}
438791Sjkh