Class DirectiveLabelWeak
- java.lang.Object
-
- ru.ispras.microtesk.test.template.directive.Directive
-
- ru.ispras.microtesk.test.template.directive.DirectiveLabel
-
- ru.ispras.microtesk.test.template.directive.DirectiveLabelWeak
-
public final class DirectiveLabelWeak extends DirectiveLabel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ru.ispras.microtesk.test.template.directive.Directive
Directive.Kind
-
-
Field Summary
-
Fields inherited from class ru.ispras.microtesk.test.template.directive.DirectiveLabel
label
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class ru.ispras.microtesk.test.template.directive.DirectiveLabel
getKind, getLabel, isRealLabel, needsIndent, toString
-
-
-
-
Method Detail
-
getText
public java.lang.String getText()
Description copied from class:Directive
Returns the string representation of the directive.- Overrides:
getText
in classDirectiveLabel
- Returns:
- the directive text.
-
apply
public java.math.BigInteger apply(java.math.BigInteger currentAddress, MemoryAllocator allocator)
Description copied from class:Directive
Applies the directive to the current address and the memory allocator.
-
copy
public Directive copy()
Description copied from class:Directive
Copies the directive.- Overrides:
copy
in classDirectiveLabel
- Returns:
- a copy of the directive.
-
-