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 to DirectivesJeoObject, but instead of 'as' attribute, it has 'name' attribute.
Since:
0.8
  • Constructor Details

    • 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.
    • DirectivesGlobalObject

      public DirectivesGlobalObject(String base, String name, List<org.xembly.Directives> inner)
      Constructor.
      Parameters:
      base - The base of the object.
      name - The name of the object.
      inner - Inner components.
  • Method Details

    • iterator

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