Class Lexer.DefaultLexer

java.lang.Object
org.springframework.shell.command.parser.Lexer.DefaultLexer
All Implemented Interfaces:
Lexer
Enclosing interface:
Lexer

public static class Lexer.DefaultLexer extends Object implements Lexer
Default implementation of a Lexer.
  • Constructor Details

  • Method Details

    • tokenize

      public Lexer.LexerResult tokenize(List<String> arguments)
      Description copied from interface: Lexer
      Tokenize given command line arguments into a list of tokens.
      Specified by:
      tokenize in interface Lexer
      Parameters:
      arguments - the command line arguments
      Returns:
      lexer result having tokens and operation messages