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 voidlink(AstNode node)Link this reference with the given object.AstNodeobject()Get the object.List<AstNode>opcodes()Bytecode instructions.Iterable<org.xembly.Directive>toXmir()Convert node to XMIR.org.objectweb.asm.Typetype()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:XmirConvert node to XMIR.
-
opcodes
public List<AstNode> opcodes()
Description copied from interface:AstNodeBytecode instructions.
-
-