Package org.eolang.opeo.ast
Class Reference
- java.lang.Object
-
- org.eolang.opeo.ast.Reference
-
-
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 void
link(AstNode node)
Link this reference with the given object.List<AstNode>
opcodes()
Bytecode instructions.String
print()
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:AstNode
Print ast node and all it's children.
-
toXmir
public Iterable<org.xembly.Directive> toXmir()
Description copied from interface:AstNode
Convert node to XMIR.
-
-