public final class AbstractCall extends SharedObject<AbstractCall>
Constructor and Description |
---|
AbstractCall(AbstractCall other) |
AbstractCall(Where where,
java.lang.String text,
Primitive rootOperation,
java.util.List<Label> labels,
java.util.List<LabelReference> labelRefs,
java.util.List<Output> outputs,
boolean relativeOrigin,
java.math.BigInteger origin,
java.math.BigInteger alignment,
java.math.BigInteger alignmentInBytes,
PreparatorReference preparatorReference,
DataSection data,
java.util.List<AbstractCall> atomicSequence,
Primitive modeToFree,
boolean freeAllModes) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<AbstractCall> |
copyAll(java.util.List<AbstractCall> calls) |
static java.util.List<AbstractCall> |
expandAtomic(java.util.List<AbstractCall> sequence) |
java.math.BigInteger |
getAlignment() |
java.math.BigInteger |
getAlignmentInBytes() |
java.util.List<AbstractCall> |
getAtomicSequence() |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes() |
java.util.List<Primitive> |
getCommands() |
DataSection |
getData() |
java.util.List<LabelReference> |
getLabelReferences() |
java.util.List<Label> |
getLabels() |
Primitive |
getModeToFree() |
java.math.BigInteger |
getOrigin() |
java.util.List<Output> |
getOutputs() |
PreparatorReference |
getPreparatorReference() |
Primitive |
getRootOperation() |
LabelReference |
getTargetReference() |
java.lang.String |
getText() |
Where |
getWhere() |
boolean |
hasData() |
boolean |
isAtomicSequence() |
boolean |
isEmpty() |
boolean |
isExecutable() |
boolean |
isFreeAllModes() |
boolean |
isModeToFree() |
boolean |
isPreparatorCall() |
boolean |
isRelativeOrigin() |
static AbstractCall |
newAtomicSequence(java.util.List<AbstractCall> sequence) |
static AbstractCall |
newComment(java.lang.String comment) |
AbstractCall |
newCopy()
Creates a new full copy of the object.
|
static AbstractCall |
newData(DataSection data) |
static AbstractCall |
newEmpty() |
static AbstractCall |
newFreeAllocatedMode(Primitive mode,
boolean freeAll) |
static AbstractCall |
newLine() |
static AbstractCall |
newOrigin(java.math.BigInteger origin,
boolean isRelative) |
static AbstractCall |
newText(java.lang.String text) |
java.lang.String |
toString() |
freeSharedCopies, getCopy, publishSharedCopy, sharedCopy, sharedCopyAll
public AbstractCall(Where where, java.lang.String text, Primitive rootOperation, java.util.List<Label> labels, java.util.List<LabelReference> labelRefs, java.util.List<Output> outputs, boolean relativeOrigin, java.math.BigInteger origin, java.math.BigInteger alignment, java.math.BigInteger alignmentInBytes, PreparatorReference preparatorReference, DataSection data, java.util.List<AbstractCall> atomicSequence, Primitive modeToFree, boolean freeAllModes)
public AbstractCall(AbstractCall other)
public static AbstractCall newData(DataSection data)
public static AbstractCall newText(java.lang.String text)
public static AbstractCall newEmpty()
public static AbstractCall newLine()
public static AbstractCall newComment(java.lang.String comment)
public static AbstractCall newOrigin(java.math.BigInteger origin, boolean isRelative)
public static AbstractCall newAtomicSequence(java.util.List<AbstractCall> sequence)
public static java.util.List<AbstractCall> expandAtomic(java.util.List<AbstractCall> sequence)
public static AbstractCall newFreeAllocatedMode(Primitive mode, boolean freeAll)
public static java.util.List<AbstractCall> copyAll(java.util.List<AbstractCall> calls)
public boolean isExecutable()
public boolean isPreparatorCall()
public boolean isEmpty()
public Where getWhere()
public java.lang.String getText()
public Primitive getRootOperation()
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
public java.util.List<Primitive> getCommands()
public java.util.List<Label> getLabels()
public java.util.List<LabelReference> getLabelReferences()
public java.util.List<Output> getOutputs()
public LabelReference getTargetReference()
public boolean isRelativeOrigin()
public java.math.BigInteger getOrigin()
public java.math.BigInteger getAlignment()
public java.math.BigInteger getAlignmentInBytes()
public PreparatorReference getPreparatorReference()
public boolean hasData()
public DataSection getData()
public boolean isAtomicSequence()
public java.util.List<AbstractCall> getAtomicSequence()
public boolean isModeToFree()
public boolean isFreeAllModes()
public Primitive getModeToFree()
public java.lang.String toString()
toString
in class java.lang.Object
public AbstractCall newCopy()
SharedObject
SharedObject.SharedObject(SharedObject)
copy constructor in order to publish a shared copy.newCopy
in class SharedObject<AbstractCall>