Package org.eolang.opeo.ast
Class Labeled
- java.lang.Object
-
- org.eolang.opeo.ast.Labeled
-
public final class Labeled extends Object implements AstNode, Typed
Node with an attached label. This class needed to avoid considering labels as separate nodes. Maybe it's wrong to do so, but it's easier to implement this way, at least for now. Pay attention, thatLabeledclass violates class hierarchy. It is the most visible withinInvokespecialAgentimplementation.- Since:
- 0.2
-
-
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.AstNodeorigin()Original node.Iterable<org.xembly.Directive>toXmir()Convert node to XMIR.org.objectweb.asm.Typetype()Node type.
-