Package org.eolang.opeo.ast
Class Root
- java.lang.Object
-
- org.eolang.opeo.ast.Root
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(AstNode node)
Append child.List<AstNode>
opcodes()
Bytecode instructions.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.
-
-
-
Constructor Detail
-
Root
public Root()
Constructor.
-
Root
public Root(AstNode... children)
Constructor.- Parameters:
children
- Children.
-
Root
public Root(Collection<AstNode> children)
Constructor.- Parameters:
children
- Children.
-
-
Method Detail
-
toXmir
public Iterable<org.xembly.Directive> toXmir()
Description copied from interface:Xmir
Convert node to XMIR.
-
opcodes
public List<AstNode> opcodes()
Description copied from interface:AstNode
Bytecode instructions.
-
append
public void append(AstNode node)
Append child.- Parameters:
node
- Child
-
-