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:
    Serialized Form
    • Field Detail

      • 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:
        Constant Field Values
      • wordCursor

        public int wordCursor
    • Constructor Detail

      • CommandCompleter

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