byucc.jhdl.synth.graph.parser.syntaxtree
Class NodeChoice

java.lang.Object
  extended bybyucc.jhdl.synth.graph.parser.syntaxtree.NodeChoice
All Implemented Interfaces:
Node, java.io.Serializable

public class NodeChoice
extends java.lang.Object
implements Node

Represents a grammar choice, e.g. ( A | B )

See Also:
Serialized Form

Field Summary
 Node choice
           
 int which
           
 
Constructor Summary
NodeChoice(Node node)
           
NodeChoice(Node node, int whichChoice)
           
 
Method Summary
 void accept(Visitor v)
           
 Node getParent()
           
 void setParent(Node n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

choice

public Node choice

which

public int which
Constructor Detail

NodeChoice

public NodeChoice(Node node)

NodeChoice

public NodeChoice(Node node,
                  int whichChoice)
Method Detail

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.