Tree.java (1209:36fbf759ab8d) Tree.java (1590:1916a2c680d8)
1/*
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided

--- 19 unchanged lines hidden (view full) ---

28/**
29 * Common interface for all nodes in an abstract syntax tree.
30 *
31 * <p><b>WARNING:</b> This interface and its sub-interfaces are
32 * subject to change as the ECMAScript programming language evolves.
33 *
34 * @since 1.9
35 */
1/*
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided

--- 19 unchanged lines hidden (view full) ---

28/**
29 * Common interface for all nodes in an abstract syntax tree.
30 *
31 * <p><b>WARNING:</b> This interface and its sub-interfaces are
32 * subject to change as the ECMAScript programming language evolves.
33 *
34 * @since 1.9
35 */
36@jdk.Exported
37public interface Tree {
38
39 /**
40 * Enumerates all kinds of trees.
41 */
36public interface Tree {
37
38 /**
39 * Enumerates all kinds of trees.
40 */
42 @jdk.Exported
43 public enum Kind {
44 /**
45 * Used for instances of {@link ArrayAccessTree}.
46 */
47 ARRAY_ACCESS(ArrayAccessTree.class),
48
49 /**
50 * Used for instances of {@link ArrayLiteralTree}.

--- 553 unchanged lines hidden ---
41 public enum Kind {
42 /**
43 * Used for instances of {@link ArrayAccessTree}.
44 */
45 ARRAY_ACCESS(ArrayAccessTree.class),
46
47 /**
48 * Used for instances of {@link ArrayLiteralTree}.

--- 553 unchanged lines hidden ---