Class DirectivesProgram
- java.lang.Object
-
- org.eolang.jeo.representation.directives.DirectivesProgram
-
-
Constructor Summary
Constructors Constructor Description DirectivesProgram()
Simple constructor with empty listing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.xembly.Directive>
iterator()
DirectivesProgram
withClass(ClassName name, DirectivesClass clazz)
Append top-level class.-
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
-
-
-
-
Method Detail
-
withClass
public DirectivesProgram withClass(ClassName name, DirectivesClass clazz)
Append top-level class.- Parameters:
name
- Class Name.clazz
- Top-level class.- Returns:
- The same instance.
-
-