byucc.jhdl.parsers.edif.syntaxtree
Class NodeList

java.lang.Object
  extended bybyucc.jhdl.parsers.edif.syntaxtree.NodeList
All Implemented Interfaces:
Node, NodeListInterface, java.io.Serializable

public class NodeList
extends java.lang.Object
implements NodeListInterface

Represents a grammar list, e.g. ( A )+

See Also:
Serialized Form

Field Summary
 java.util.Vector nodes
           
 
Constructor Summary
NodeList()
           
NodeList(Node firstNode)
           
 
Method Summary
 java.lang.Object accept(ObjectVisitor v, java.lang.Object argu)
           
 void accept(Visitor v)
           
 void addNode(Node n)
           
 Node elementAt(int i)
           
 java.util.Enumeration elements()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

public java.util.Vector nodes
Constructor Detail

NodeList

public NodeList()

NodeList

public NodeList(Node firstNode)
Method Detail

addNode

public void addNode(Node n)
Specified by:
addNode in interface NodeListInterface

elements

public java.util.Enumeration elements()
Specified by:
elements in interface NodeListInterface

elementAt

public Node elementAt(int i)
Specified by:
elementAt in interface NodeListInterface

size

public int size()
Specified by:
size in interface NodeListInterface

accept

public void accept(Visitor v)
Specified by:
accept in interface Node

accept

public java.lang.Object accept(ObjectVisitor v,
                               java.lang.Object argu)
Specified by:
accept in interface Node


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.