Interface AstNode

All Superinterfaces:
Xmir
All Known Implementing Classes:
Add, ArrayConstructor, AstNode.Empty, Cast, CheckCast, ClassField, ClassName, Constant, Constructor, Duplicate, DynamicInvocation, FieldAssignment, FieldRetrieval, If, InterfaceInvocation, Invocation, Label, Labeled, Literal, LocalVariable, Multiplication, NewAddress, Opcode, Popped, RawXml, Reference, Return, Root, StaticInvocation, StoreArray, Substraction, Super, This, VariableAssignment

public interface AstNode extends Xmir
Abstract syntax tree node.
Since:
0.1
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Empty node that does nothing.
  • Method Summary

    Modifier and Type
    Method
    Description
    Bytecode instructions.

    Methods inherited from interface org.eolang.opeo.ast.Xmir

    toXmir
  • Method Details

    • opcodes

      List<AstNode> opcodes()
      Bytecode instructions.
      Returns:
      List of opcodes.