cs132.vapor.ast
Class VTarget

java.lang.Object
  extended by cs132.vapor.ast.Node
      extended by cs132.vapor.ast.VTarget
Direct Known Subclasses:
VCodeLabel, VDataSegment, VFunction

public class VTarget
extends Node

The base class for things that can appear as targets of a label reference (VLabelRef).


Field Summary
 String ident
          The name of the thing (function name, data segement name, code label name, etc).
 
Fields inherited from class cs132.vapor.ast.Node
sourcePos
 
Constructor Summary
VTarget(SourcePos sourcePos, String ident)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ident

public final String ident
The name of the thing (function name, data segement name, code label name, etc).

Constructor Detail

VTarget

public VTarget(SourcePos sourcePos,
               String ident)