public class DirectiveAlign extends Directive
Directive.Kind
Modifier and Type | Field and Description |
---|---|
protected int |
alignment |
protected int |
alignmentInBytes |
protected int |
fillWith |
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.Kind |
getKind()
Returns the directive kind.
|
java.lang.String |
getText()
Returns the string representation of the directive.
|
java.lang.String |
toString() |
copy, copyAll, needsIndent
protected final int alignment
protected final int alignmentInBytes
protected final int fillWith
public Directive.Kind getKind()
Directive
public java.lang.String getText()
Directive
public java.math.BigInteger apply(java.math.BigInteger currentAddress, MemoryAllocator allocator)
Directive