Package org.eolang.opeo.ast
Class Reference
- java.lang.Object
-
- org.eolang.opeo.ast.Reference
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
link(AstNode node)
Link this reference with the given object.AstNode
object()
Get the object.List<AstNode>
opcodes()
Bytecode instructions.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.org.objectweb.asm.Type
type()
Node type.
-
-
-
Constructor Detail
-
Reference
public Reference()
Constructor.
-
Reference
public Reference(AstNode object)
Constructor.- Parameters:
object
- Object for which reference is created.
-
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.
-
object
public AstNode object()
Get the object.- Returns:
- Object.
-
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.
-
-