Class Formals
java.lang.Object
TreeNode
ListNode
Formals
class Formals
- extends ListNode
Defines list phylum Formals
See ListNode for full documentation.
Constructor Summary |
|
Formals(int lineNumber)
Creates an empty "Formals" list |
protected |
Formals(int lineNumber,
java.util.Vector elements)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
elementClass
public static final java.lang.Class elementClass
Formals
protected Formals(int lineNumber,
java.util.Vector elements)
Formals
public Formals(int lineNumber)
- Creates an empty "Formals" list
getElementClass
public java.lang.Class getElementClass()
- Returns class of this lists's elements
- Specified by:
getElementClass
in class ListNode
- Returns:
- the element class
appendElement
public Formals appendElement(TreeNode elem)
- Appends "Formal" element to this list
copy
public TreeNode copy()
- Description copied from class:
TreeNode
- Creates a copy of this node.
- Specified by:
copy
in class TreeNode
- Returns:
- a copy of this node