Package org.eolang.opeo.ast
Class If
- java.lang.Object
-
- org.eolang.opeo.ast.If
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Constructor Summary
Constructors Constructor Description If(org.eolang.jeo.representation.xmir.XmlNode node, Function<org.eolang.jeo.representation.xmir.XmlNode,AstNode> search)
Constructor.If(AstNode first, AstNode second, Label target)
Constructor.If(AstNode first, AstNode second, org.objectweb.asm.Label target)
Constructor.
-
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.
-
-
-
Constructor Detail
-
If
public If(org.eolang.jeo.representation.xmir.XmlNode node, Function<org.eolang.jeo.representation.xmir.XmlNode,AstNode> search)
Constructor.- Parameters:
node
- XMIR node.search
- Search function.
-
If
public If(AstNode first, AstNode second, org.objectweb.asm.Label target)
Constructor.- Parameters:
first
- First value.second
- Second value.target
- Target label.
-
-