Interface TerminalNode

All Superinterfaces:
ParseTree, SyntaxTree, Tree
All Known Subinterfaces:
ErrorNode
All Known Implementing Classes:
ErrorNodeImpl, TerminalNodeImpl

public interface TerminalNode extends ParseTree
  • Method Details

    • getSymbol

      Token getSymbol()
    • getParent

      RuleNode getParent()
      Description copied from interface: Tree
      The parent of this node. If the return value is null, then this node is the root of the tree.
      Specified by:
      getParent in interface ParseTree
      Specified by:
      getParent in interface Tree