Package org.eolang.opeo.ast
Class Duplicate
java.lang.Object
org.eolang.opeo.ast.Duplicate
Duplicate.
This class represents the DUP instruction in the JVM bytecode.
- Since:
- 0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Duplicate
Constructor.- Parameters:
original
- The original node to duplicate.
-
-
Method Details
-
opcodes
Description copied from interface:AstNode
Bytecode instructions. -
toXmir
Description copied from interface:Xmir
Convert node to XMIR. -
type
public org.objectweb.asm.Type type()Description copied from interface:Typed
Node type. -
link
Link the node.- Parameters:
node
- The node to link.
-
current
Retrieve the current node.- Returns:
- The current node.
-