simkin
Class ParseNode

java.lang.Object
  |
  +--simkin.ParseNode

public abstract class ParseNode
extends java.lang.Object

ParseNode - this class is the base class for nodes in the parse tree

The classes derived this interface within Simkin are opaque to other packages.


Constructor Summary
protected ParseNode(int line_num)
           
 
Method Summary
 int getLineNumber()
          this method returns an integer indicating the line number in the source at which the item starts
abstract  int getType()
          this method returns an integer indicating the type of the node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseNode

protected ParseNode(int line_num)
Method Detail

getType

public abstract int getType()
this method returns an integer indicating the type of the node


getLineNumber

public int getLineNumber()
this method returns an integer indicating the line number in the source at which the item starts