Class DirectivesValue

  • All Implemented Interfaces:
    Iterable<org.xembly.Directive>

    public final class DirectivesValue
    extends Object
    implements Iterable<org.xembly.Directive>
    Data Object Directive in EO language.
    Since:
    0.1.0
    To do:
    #627:90min Remove 'line' attribute usages. We add 'line' attribute in many places to be able print XMIR representation as PHI expressions. Actually we shouldn't add any artificial attributes to the representation. When the following issue will be solved we should remove 'line' attribute from all places where it used: https://github.com/objectionary/eo/issues/3189
    • Constructor Detail

      • DirectivesValue

        public DirectivesValue​(T data)
        Constructor.
        Type Parameters:
        T - Data type.
        Parameters:
        data - Data.
      • DirectivesValue

        public DirectivesValue​(String name,
                               T data)
        Constructor.
        Type Parameters:
        T - Data type.
        Parameters:
        name - Name.
        data - Data.
      • DirectivesValue

        public DirectivesValue​(String name,
                               BytecodeValue value)
        Constructor.
        Parameters:
        name - Name.
        value - Value.
    • Method Detail

      • iterator

        public Iterator<org.xembly.Directive> iterator()
        Specified by:
        iterator in interface Iterable<org.xembly.Directive>