java.lang.Object
org.springframework.shell.command.parser.AstNode
Direct Known Subclasses:
NonterminalAstNode, TerminalAstNode

public abstract sealed class AstNode extends Object permits NonterminalAstNode, TerminalAstNode
Represents a node in an abstract syntax tree and knows about Token.
  • Constructor Details

    • AstNode

      public AstNode(Token token)
  • Method Details

    • getToken

      public Token getToken()