Class DirectivesProgram

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

    public final class DirectivesProgram
    extends Object
    implements Iterable<org.xembly.Directive>
    Program representation as Xembly directives.
    Since:
    0.1
    • Constructor Detail

      • DirectivesProgram

        public DirectivesProgram​(DirectivesClass klass,
                                 DirectivesMetas metas)
        Constructor.
        Parameters:
        klass - Top-level class.
        metas - Metas.
      • DirectivesProgram

        public DirectivesProgram​(String code,
                                 DirectivesClass clazz,
                                 DirectivesMetas name)
        Constructor.
        Parameters:
        code - Program listing.
        clazz - Class.
        name - Metas.
    • Method Detail

      • iterator

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