Class DirectiveDataConst


  • public final class DirectiveDataConst
    extends Directive
    • Nested Class Summary

    • Field Summary

      • Fields inherited from class ru.ispras.microtesk.test.template.directive.Directive

        options
    • 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.Kind getKind()
      Returns the directive kind.
      java.lang.String getText()
      Returns the string representation of the directive.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getText

        public java.lang.String getText()
        Description copied from class: Directive
        Returns the string representation of the directive.
        Specified by:
        getText in class Directive
        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.
        Overrides:
        apply in class Directive
        Parameters:
        currentAddress - the current address.
        allocator - the memory allocator.
        Returns:
        the current address.