org.teatrove.tea.parsetree
Class SubstitutionStatement

java.lang.Object
  extended by org.teatrove.tea.parsetree.Node
      extended by org.teatrove.tea.parsetree.Statement
          extended by org.teatrove.tea.parsetree.SubstitutionStatement
All Implemented Interfaces:
Serializable, Cloneable

public class SubstitutionStatement
extends Statement

SubstitutionStatement is represented as '...' in a template.

Author:
Brian S O'Neill
See Also:
Serialized Form

Constructor Summary
SubstitutionStatement(SourceInfo info)
           
 
Method Summary
 Object accept(NodeVisitor visitor)
          Every subclass of Node must override this method with the following: return visitor.visit(this).
 
Methods inherited from class org.teatrove.tea.parsetree.Statement
isBreak, isReturn
 
Methods inherited from class org.teatrove.tea.parsetree.Node
clone, getSourceInfo, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstitutionStatement

public SubstitutionStatement(SourceInfo info)
Method Detail

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).

Overrides:
accept in class Statement
Parameters:
visitor - A visitor of this Node
Returns:
Node The Node returned by the visitor
See Also:
NodeVisitor


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.