Package org.eolang.opeo.ast
Class LocalVariable
java.lang.Object
org.eolang.opeo.ast.LocalVariable
A local variable.
int local1;
- Since:
- 0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty -
Constructor Summary
ConstructorsConstructorDescriptionLocalVariable(int identifier, org.objectweb.asm.Type type) Constructor.LocalVariable(org.eolang.jeo.representation.xmir.XmlNode node) Constructor. -
Method Summary
-
Constructor Details
-
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 Details
-
toXmir
Description copied from interface:XmirConvert node to XMIR. -
opcodes
Description copied from interface:AstNodeBytecode instructions. -
type
public org.objectweb.asm.Type type()Description copied from interface:TypedNode type. -
store
Store opcode for the variable. SeeOpcodes.ISTORE.- Returns:
- Opcode to store the variable. See
Opcode.
-