Class ASTNode

All Implemented Interfaces:
MoveCheckable, TreeMember, ParseTree, SyntaxTree, TerminalNode, Tree
Direct Known Subclasses:
ParsableASTNode, UnparsableASTNode

public abstract class ASTNode extends ExtendedTerminalNode
The AST node is a terminal node that can be printed with a method implemented by subclasses. The result of this method is used by other abstract AST classes to re-insert the result of an AST manipulation back into the parse tree.
  • Constructor Details

    • ASTNode

      public ASTNode()
  • Method Details

    • getPrinted

      protected abstract String getPrinted()
      Generates the string representation of this AST object as it would be in the generated code.
      Returns:
      The printed string for this AST object