Package org.eolang.opeo.ast
Class Root
- java.lang.Object
-
- org.eolang.opeo.ast.Root
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(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:XmirConvert node to XMIR.
-
opcodes
public List<AstNode> opcodes()
Description copied from interface:AstNodeBytecode instructions.
-
append
public void append(AstNode node)
Append child.- Parameters:
node- Child
-
-