Class DataSection
- java.lang.Object
-
- ru.ispras.microtesk.test.template.DataSection
-
public final class DataSection extends java.lang.Object
TheDataSection
class describes data sections defined in test templates or created by engines.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DataSection(java.util.List<Directive> directives, java.math.BigInteger physicalAddress, Section section, boolean global, boolean separateFile)
protected
DataSection(DataSection other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allocateDataAndRegisterLabels(MemoryAllocator allocator, LabelManager labelManager)
java.math.BigInteger
getAllocationEndAddress()
java.util.List<Directive>
getDirectives()
java.util.List<Label>
getLabels()
Section
getSection()
int
getSequenceIndex()
boolean
isGlobal()
boolean
isSeparateFile()
void
setSequenceIndex(int value)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DataSection
protected DataSection(java.util.List<Directive> directives, java.math.BigInteger physicalAddress, Section section, boolean global, boolean separateFile)
-
DataSection
protected DataSection(DataSection other)
-
-
Method Detail
-
getSequenceIndex
public int getSequenceIndex()
-
setSequenceIndex
public void setSequenceIndex(int value)
-
getDirectives
public java.util.List<Directive> getDirectives()
-
getLabels
public java.util.List<Label> getLabels()
-
getSection
public Section getSection()
-
isGlobal
public boolean isGlobal()
-
isSeparateFile
public boolean isSeparateFile()
-
getAllocationEndAddress
public java.math.BigInteger getAllocationEndAddress()
-
allocateDataAndRegisterLabels
public void allocateDataAndRegisterLabels(MemoryAllocator allocator, LabelManager labelManager)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-