Package org.eolang.opeo.ast
Class LocalVariable
- java.lang.Object
-
- org.eolang.opeo.ast.LocalVariable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Constructor Summary
Constructors Constructor Description LocalVariable(int identifier, org.objectweb.asm.Type type)
Constructor.LocalVariable(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AstNode>
opcodes()
Bytecode instructions.AstNode
store()
Store opcode for the variable.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.org.objectweb.asm.Type
type()
Node type.
-
-
-
Constructor Detail
-
LocalVariable
public LocalVariable(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.- Parameters:
node
- The XML node that represents variable.
-
LocalVariable
public LocalVariable(int identifier, org.objectweb.asm.Type type)
Constructor.- Parameters:
identifier
- The identifier of the variable.type
- The type of the variable.
-
-
Method Detail
-
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.
-
type
public org.objectweb.asm.Type type()
Description copied from interface:Typed
Node type.
-
-