org.springframework.shell.core

## Interface Parser

- All Known Implementing Classes:
    SimpleParser

      public interface Parser

  Interface for `SimpleParser`.
  Since:
    1.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `complete(String buffer, int cursor, List<String> candidates)` Populates a list of completion candidates.
    `int` | `completeAdvanced(String buffer, int cursor, List<Completion> candidates)` Populates a list of completion candidates.
    `ParseResult` | `parse(String buffer)`

- - ### Method Detail

    - #### parse

          ParseResult parse(String buffer)

    - #### complete

          int complete(String buffer,
                     int cursor,
                     List<String> candidates)

      Populates a list of completion candidates. This method is required for backward compatibility for STS versions up to 2.8.0.
      Parameters:
        `buffer` -
        `cursor` -
        `candidates` -
      Returns:

    - #### completeAdvanced

          int completeAdvanced(String buffer,
                             int cursor,
                             List<Completion> candidates)

      Populates a list of completion candidates.
      Parameters:
        `buffer` -
        `cursor` -
        `candidates` -
      Returns: