Class TerminalCSTNode

All Implemented Interfaces:
MoveCheckable, TreeMember, ParseTree, SyntaxTree, TerminalNode, Tree
Direct Known Subclasses:
ParsableTerminalCSTNode, UnparsableCSTNode

public abstract class TerminalCSTNode extends ExtendedTerminalNode
The CST 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 CST classes to re-insert the result of an CST manipulation back into the parse tree.
  • Constructor Details

    • TerminalCSTNode

      public TerminalCSTNode()
  • Method Details

    • getPrinted

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