byucc.jhdl.synth.graph.parser.syntaxtree
Class NodeSequence
java.lang.Object
byucc.jhdl.synth.graph.parser.syntaxtree.NodeSequence
- All Implemented Interfaces:
- Node, NodeListInterface, java.io.Serializable
- public class NodeSequence
- extends java.lang.Object
- implements NodeListInterface
Represents a sequence of nodes nested within a choice, list,
optional list, or optional, e.g. ( A B )+ or [ C D E ]
- See Also:
- Serialized Form
Field Summary |
java.util.Vector |
nodes
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodes
public java.util.Vector nodes
NodeSequence
public NodeSequence(int n)
NodeSequence
public NodeSequence(Node firstNode)
addNode
public void addNode(Node n)
- Specified by:
addNode
in interface NodeListInterface
elementAt
public Node elementAt(int i)
- Specified by:
elementAt
in interface NodeListInterface
elements
public java.util.Enumeration elements()
- Specified by:
elements
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
setParent
public void setParent(Node n)
- Specified by:
setParent
in interface Node
getParent
public Node getParent()
- Specified by:
getParent
in interface Node
Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.