Package gnu.expr

Class CommandCompleter

All Implemented Interfaces:
Serializable

public class CommandCompleter extends RuntimeException
Handle command completion based on expression context. The main entrypoint is the complete method.
See Also:
  • Field Details

    • COMPLETE_REQUEST

      public static final char COMPLETE_REQUEST
      A pseudo-letter returned on a completion request. This is typically where a TAB was typed.
      See Also:
    • word

      public String word
    • wordCursor

      public int wordCursor
    • candidates

      public List<String> candidates
  • Constructor Details

    • CommandCompleter

      public CommandCompleter(int prefixLength, List<String> candidates, String word, int wordCursor, Compilation comp)
  • Method Details