Class DirectivesValue
- java.lang.Object
-
- org.eolang.jeo.representation.directives.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 Summary
Constructors Constructor Description DirectivesValue(String name, BytecodeValue value)
Constructor.DirectivesValue(String name, T data)
Constructor.DirectivesValue(T data)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.xembly.Directive>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
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.
-
-