Package org.eolang.opeo.ast
Class Cast
- java.lang.Object
-
- org.eolang.opeo.ast.Cast
-
-
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
-
Cast
public Cast(org.eolang.jeo.representation.xmir.XmlNode node, Function<org.eolang.jeo.representation.xmir.XmlNode,AstNode> target)
Constructor.- Parameters:
node
- XML nodetarget
- Function to determine the origin node.
-
Cast
public Cast(org.objectweb.asm.Type target, AstNode origin)
Constructor.- Parameters:
target
- Target typeorigin
- Node to cast
-
-