Class AstNode.Empty

java.lang.Object
org.eolang.opeo.ast.AstNode.Empty
All Implemented Interfaces:
AstNode, Xmir
Enclosing interface:
AstNode

public static final class AstNode.Empty extends Object implements AstNode
Empty node that does nothing.
Since:
0.2
  • Constructor Details

    • Empty

      public Empty()
  • Method Details

    • opcodes

      public List<AstNode> opcodes()
      Description copied from interface: AstNode
      Bytecode instructions.
      Specified by:
      opcodes in interface AstNode
      Returns:
      List of opcodes.
    • 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.