Package org.eolang.opeo.ast
Class Variable
- java.lang.Object
-
- org.eolang.opeo.ast.Variable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Variable.Operation
Local variable intention in bytecode.
-
Constructor Summary
Constructors Constructor Description Variable(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.Variable(Attributes attributes, int identifier)
Constructor.Variable(org.objectweb.asm.Type type, int identifier)
Constructor.Variable(org.objectweb.asm.Type type, Variable.Operation operation, int identifier)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
Variable
public Variable(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.- Parameters:
node
- The XML node that represents variable.
-
Variable
public Variable(org.objectweb.asm.Type type, int identifier)
Constructor.- Parameters:
type
- The type of the variable.identifier
- The identifier of the variable.
-
Variable
public Variable(org.objectweb.asm.Type type, Variable.Operation operation, int identifier)
Constructor.- Parameters:
type
- The type of the variable.operation
- The operation of the variable.identifier
- The identifier of the variable.
-
Variable
public Variable(Attributes attributes, int identifier)
Constructor.- Parameters:
attributes
- The variable attributes.identifier
- The identifier of the variable.
-
-