LexicalContextExpression.java revision 953:221a84ef44c0
160786Sps/* 260786Sps * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 360786Sps * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 460786Sps * 560786Sps * This code is free software; you can redistribute it and/or modify it 660786Sps * under the terms of the GNU General Public License version 2 only, as 760786Sps * published by the Free Software Foundation. Oracle designates this 860786Sps * particular file as subject to the "Classpath" exception as provided 960786Sps * by Oracle in the LICENSE file that accompanied this code. 1060786Sps * 1160786Sps * This code is distributed in the hope that it will be useful, but WITHOUT 1260786Sps * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1360786Sps * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1460786Sps * version 2 for more details (a copy is included in the LICENSE file that 1560786Sps * accompanied this code). 1660786Sps * 1760786Sps * You should have received a copy of the GNU General Public License version 1860786Sps * 2 along with this work; if not, write to the Free Software Foundation, 1960786Sps * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2060786Sps * 2160786Sps * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2260786Sps * or visit www.oracle.com if you need additional information or have any 2360786Sps * questions. 2460786Sps */ 2560786Sps 2660786Spspackage jdk.nashorn.internal.ir; 2760786Sps 2860786Spsimport jdk.nashorn.internal.ir.visitor.NodeVisitor; 2960786Sps 3060786Spsabstract class LexicalContextExpression extends Expression implements LexicalContextNode { 3160786Sps 3260786Sps LexicalContextExpression(final LexicalContextExpression expr) { 3360786Sps super(expr); 3460786Sps } 3560786Sps 3660786Sps LexicalContextExpression(final long token, final int start, final int finish) { 3760786Sps super(token, start, finish); 3860786Sps } 3960786Sps 4060786Sps LexicalContextExpression(final long token, final int finish) { 4160786Sps super(token, finish); 4260786Sps } 4360786Sps 4460786Sps @Override 4560786Sps public Node accept(final NodeVisitor<? extends LexicalContext> visitor) { 4660786Sps return Acceptor.accept(this, visitor); 4760786Sps } 4860786Sps} 4960786Sps