Class DirectivesGlobalObject
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesGlobalObject
-
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesGlobalObject extends Object implements Iterable<org.xembly.Directive>
Directives that represent a global object. Similar toDirectivesJeoObject
, but instead of 'as' attribute, it has 'name' attribute.- Since:
- 0.8
-
-
Constructor Summary
Constructors Constructor Description DirectivesGlobalObject(String base, String name, Iterable<org.xembly.Directive>... inner)
Constructor.DirectivesGlobalObject(String base, String name, List<org.xembly.Directives> inner)
Constructor.DirectivesGlobalObject(String base, String name, org.xembly.Directives... inner)
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
-
DirectivesGlobalObject
@SafeVarargs public DirectivesGlobalObject(String base, String name, Iterable<org.xembly.Directive>... inner)
Constructor.- Parameters:
base
- The base of the object.name
- The name of the object.inner
- Inner components.
-
DirectivesGlobalObject
public DirectivesGlobalObject(String base, String name, org.xembly.Directives... inner)
Constructor.- Parameters:
base
- The base of the object.name
- The name of the object.inner
- Inner components.
-
-