Interface CommandLexer

All Known Implementing Classes:
SimpleCommandLexer

@AvailableSince("0.0.37") public interface CommandLexer
The Command lexer tokenize commands, and then we could use it to parse the command
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    tokenize(String command)
    Tokenize the command into tokens
  • Method Details

    • tokenize

      List<CommandToken> tokenize(String command)
      Tokenize the command into tokens
      Parameters:
      command - the command to tokenize
      Returns:
      the tokens after tokenization