public final class DirectiveLabelGlobal extends DirectiveLabel
Directive.Kind
label
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
apply(java.math.BigInteger currentAddress,
MemoryAllocator allocator)
Applies the directive to the current address and the memory allocator.
|
Directive |
copy()
Copies the directive.
|
java.lang.String |
getText()
Returns the string representation of the directive.
|
boolean |
isRealLabel() |
boolean |
needsIndent()
Checks whether an indentation is required when printing the directive.
|
getKind, getLabel, toString
public boolean isRealLabel()
isRealLabel
in class DirectiveLabel
public java.lang.String getText()
Directive
getText
in class DirectiveLabel
public boolean needsIndent()
Directive
needsIndent
in class DirectiveLabel
true
iff an indentation is required.public java.math.BigInteger apply(java.math.BigInteger currentAddress, MemoryAllocator allocator)
Directive
public Directive copy()
Directive
copy
in class DirectiveLabel