cs132.vapor.ast
Class Node

java.lang.Object
  extended by cs132.vapor.ast.Node
Direct Known Subclasses:
VInstr, VMemRef, VOperand, VTarget

public class Node
extends Object

The base class for AST nodes. Just holds a SourcePos.


Field Summary
 SourcePos sourcePos
          The source position of the syntactic construct that this AST node represents.
 
Constructor Summary
Node(SourcePos sourcePos)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourcePos

public final SourcePos sourcePos
The source position of the syntactic construct that this AST node represents.

Constructor Detail

Node

public Node(SourcePos sourcePos)