ast
Class FormalList

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

public class FormalList
extends ListNode

The FormalList class represents a list of formal parameters.

See Also:
ListNode, Formal

Field Summary
 
Fields inherited from class ast.ASTNode
charNum, lineNum, lineStr
 
Constructor Summary
FormalList(int lineNum)
          Formal 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

FormalList

public FormalList(int lineNum)
Formal 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