Package org.eolang.opeo.ast
Class Cast
- java.lang.Object
-
- org.eolang.opeo.ast.Cast
-
-
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.Typetype()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
-
-