cs132.vapor.ast
Class Node
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourcePos
public final SourcePos sourcePos
- The source position of the syntactic construct that this AST node represents.
Node
public Node(SourcePos sourcePos)