Package org.eolang.opeo.ast
Class Constant
- java.lang.Object
-
- org.eolang.opeo.ast.Constant
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AstNode>
opcodes()
Bytecode instructions.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.org.objectweb.asm.Type
type()
Node type.
-
-
-
Constructor Detail
-
Constant
public Constant(org.eolang.jeo.representation.xmir.XmlNode node)
Constructor.- Parameters:
node
- The XMIR node with value to parse.
-
Constant
public Constant(Object value)
Constructor.- Parameters:
value
- The constant value.
-
Constant
public Constant(Object value, org.objectweb.asm.Type type)
Constructor.- Parameters:
value
- The constant value.type
- The constant value type.
-
-