Package org.eolang.opeo.ast
Class Reference
- java.lang.Object
-
- org.eolang.opeo.ast.Reference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Sequence
-
-
Constructor Summary
Constructors Constructor Description Reference()Constructor.Reference(AtomicReference<AstNode> ref)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlink(AstNode node)Link this reference with the given object.List<AstNode>opcodes()Bytecode instructions.Stringprint()Print ast node and all it's children.Iterable<org.xembly.Directive>toXmir()Convert node to XMIR.
-
-
-
Constructor Detail
-
Reference
public Reference()
Constructor.
-
Reference
public Reference(AtomicReference<AstNode> ref)
Constructor.- Parameters:
ref- Object reference.
-
-
Method Detail
-
link
public void link(AstNode node)
Link this reference with the given object.- Parameters:
node- Object to link with.
-
print
public String print()
Description copied from interface:AstNodePrint ast node and all it's children.
-
toXmir
public Iterable<org.xembly.Directive> toXmir()
Description copied from interface:AstNodeConvert node to XMIR.
-
-