public final class LabelReference
extends java.lang.Object
LabelManager
).Modifier and Type | Class and Description |
---|---|
static class |
LabelReference.Target |
Modifier | Constructor and Description |
---|---|
protected |
LabelReference(LabelReference other) |
protected |
LabelReference(LabelValue lazyLabel) |
|
LabelReference(LabelValue lazyLabel,
LocationAccessor patcher) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<LabelReference> |
copyAll(java.util.List<LabelReference> labelRefs) |
java.math.BigInteger |
getArgumentValue()
Returns the value assigned (instead of a real address or offset) to the primitive (OP or MODE)
argument the label reference is associated with.
|
LocationAccessor |
getPatcher() |
Label |
getReference()
Return a
Label object that describes a reference to a label with a specific name made
from a specific block. |
LabelReference.Target |
getTarget() |
void |
resetTarget() |
void |
setTarget(Label label,
int position) |
java.lang.String |
toString() |
protected LabelReference(LabelValue lazyLabel)
public LabelReference(LabelValue lazyLabel, LocationAccessor patcher)
protected LabelReference(LabelReference other)
public static java.util.List<LabelReference> copyAll(java.util.List<LabelReference> labelRefs)
public Label getReference()
Label
object that describes a reference to a label with a specific name made
from a specific block. There is no correspondence between the returned label and the actual
label that will be chosen for control transfer. It just provides context that helps choose the
most suitable label.public java.math.BigInteger getArgumentValue()
public LabelReference.Target getTarget()
public void setTarget(Label label, int position)
public void resetTarget()
public LocationAccessor getPatcher()
public java.lang.String toString()
toString
in class java.lang.Object