- All Implemented Interfaces:
AstNode
, Xmir
Multiplication.
- Since:
- 0.1
-
-
Constructor Summary
Constructors
Mul(org.eolang.jeo.representation.xmir.XmlNode node,
Function<org.eolang.jeo.representation.xmir.XmlNode,AstNode> search)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Mul
public Mul(org.eolang.jeo.representation.xmir.XmlNode node,
Function<org.eolang.jeo.representation.xmir.XmlNode,AstNode> search)
Constructor.
- Parameters:
node
- XMIR node where to extract the value.
search
- Search function.
-
Mul
Constructor.
- Parameters:
left
- Left operand
right
- Right operand
-
Method Details
-
toXmir
public Iterable<org.xembly.Directive> toXmir()
Description copied from interface: Xmir
Convert node to XMIR.
- Specified by:
toXmir
in interface Xmir
- Returns:
- XMIR XML.
-
opcodes
Description copied from interface: AstNode
Bytecode instructions.
- Specified by:
opcodes
in interface AstNode
- Returns:
- List of opcodes.