com.go.tea.parsetree
Class SubstitutionStatement

java.lang.Object
  |
  +--com.go.tea.parsetree.Node
        |
        +--com.go.tea.parsetree.Statement
              |
              +--com.go.tea.parsetree.SubstitutionStatement
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SubstitutionStatement
extends Statement

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

Version:
12 , 9/07/00
Author:
Brian S O'Neill
See Also:
Serialized Form

Constructor Summary
SubstitutionStatement(SourceInfo info)
           
 
Method Summary
 java.lang.Object accept(NodeVisitor visitor)
          Every subclass of Node must override this method with the following: return visitor.visit(this).
 
Methods inherited from class com.go.tea.parsetree.Statement
isBreak, isReturn
 
Methods inherited from class com.go.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 java.lang.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
Following copied from class: com.go.tea.parsetree.Node
Parameters:
visitor - A visitor of this Node
Returns:
Node The Node returned by the visitor
See Also:
NodeVisitor