Package jnr.a64asm
Class Label
java.lang.Object
jnr.a64asm.Operand
jnr.a64asm.Label
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int
Label Id (0 means unknown).(package private) int
Position (always positive, information depends to @c state).(package private) LABEL_STATE
State of label, seeLABEL_STATE
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final boolean
isBound()
Returns @c true if label is bound.(package private) final boolean
isLinked()
Returns @c true if label is linked.(package private) final boolean
isUnused()
Returns @c true if label is unused (not bound or linked).(package private) final void
(package private) final int
position()
Returns the position of bound or linked labels, -1 if label is unused.
-
Field Details
-
id
final int idLabel Id (0 means unknown). -
state
LABEL_STATE stateState of label, seeLABEL_STATE
. -
position
int positionPosition (always positive, information depends to @c state). -
links
-
-
Constructor Details
-
Label
public Label() -
Label
public Label(int id)
-
-
Method Details
-
isUnused
final boolean isUnused()Returns @c true if label is unused (not bound or linked). -
isLinked
final boolean isLinked()Returns @c true if label is linked. -
isBound
final boolean isBound()Returns @c true if label is bound. -
position
final int position()Returns the position of bound or linked labels, -1 if label is unused. -
link
-