Class Ast.DefaultAst

java.lang.Object
org.springframework.shell.command.parser.Ast.DefaultAst
All Implemented Interfaces:
Ast
Enclosing interface:
Ast

public static class Ast.DefaultAst extends Object implements Ast
Default implementation of an Ast.
  • Constructor Details

    • DefaultAst

      public DefaultAst()
  • Method Details

    • generate

      public Ast.AstResult generate(List<Token> tokens)
      Description copied from interface: Ast
      Generate ast result from a tokens. Ast.AstResult contains info about token to ast tree generation.
      Specified by:
      generate in interface Ast
      Parameters:
      tokens - the tokens
      Returns:
      a result containing further syntax info