org.teatrove.tea.parsetree
Class ExpressionList
java.lang.Object
org.teatrove.tea.parsetree.Node
org.teatrove.tea.parsetree.ExpressionList
- All Implemented Interfaces:
- Serializable, Cloneable
public class ExpressionList
- extends Node
An ExpressionList wraps a list of expressions that may appear in a
call statement or new array expression.
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
ExpressionList
public ExpressionList(SourceInfo info,
Expression[] elements)
accept
public Object accept(NodeVisitor visitor)
- Description copied from class:
Node
- Every subclass of Node must override this method with the following:
return visitor.visit(this).
- Specified by:
accept in class Node
- Parameters:
visitor - A visitor of this Node
- Returns:
- Node The Node returned by the visitor
- See Also:
NodeVisitor
clone
public Object clone()
- Description copied from class:
Node
- Returns a clone of this Node and all its children. Immutable child
objects are not necessarily cloned
- Overrides:
clone in class Node
getExpressions
public Expression[] getExpressions()
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.