ast
Class StmtList

java.lang.Object
  extended by ast.ASTNode
      extended by ast.ListNode
          extended by ast.StmtList

public class StmtList
extends ListNode

The StmtList class represents a list of method statements.

See Also:
ListNode, Stmt

Field Summary
 
Fields inherited from class ast.ASTNode
charNum, lineNum, lineStr
 
Constructor Summary
StmtList(int lineNum)
          Stmt list constructor
 
Method Summary
 java.lang.Object accept(visitor.Visitor v, java.lang.Object o)
          Visitor method
 
Methods inherited from class ast.ListNode
addElement, getIterator, getSize
 
Methods inherited from class ast.ASTNode
getLineNum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StmtList

public StmtList(int lineNum)
Stmt list constructor

Parameters:
lineNum - source line number corresponding to this AST node
Method Detail

accept

public java.lang.Object accept(visitor.Visitor v,
                               java.lang.Object o)
Visitor method

Specified by:
accept in class ListNode
Parameters:
v - visitor object
o - object to pass down
Returns:
result of visiting this node
See Also:
Visitor