Package org.eolang.opeo.ast
Class Popped
- java.lang.Object
-
- org.eolang.opeo.ast.Popped
-
public final class Popped extends Object implements AstNode, Typed
Popped. This node represents a node that is popped from the stack.- Since:
- 0.2
- To do:
- #229:90min Do we need to implement the `Popped` node? The `Popped` node is a node that represents a node that is popped from the stack. Maybe it's better to just silently pop the node from the stack and not represent it in the AST. Let's decide if we need to implement the `Popped` node or not. If we decide to implement it, we need to write tests for it.
-
-
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
-
Popped
public Popped(AstNode node)
Constructor.- Parameters:
node
- The popped node.
-
-