cs132.vapor.ast
Class VCodeLabel
java.lang.Object
cs132.vapor.ast.Node
cs132.vapor.ast.VTarget
cs132.vapor.ast.VCodeLabel
public class VCodeLabel
- extends VTarget
A label definition in the body of a function. These look like "LabelName:
"
and appear between instructions. They are referenced as the target of branch and jump
instructions (if
/if0
/goto
).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
function
public final VFunction function
instrIndex
public final int instrIndex
VCodeLabel
public VCodeLabel(SourcePos sourcePos,
String ident,
VFunction function,
int instrIndex)