JavaScript is disabled on your browser.
Skip navigation links
gnu.expr

Class CommandCompleter

  • All Implemented Interfaces:
    java.io.Serializable


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

      Fields
      Modifier and Type Field and Description
      java.util.List<java.lang.String> candidates
      static char COMPLETE_REQUEST
      A pseudo-letter returned on a completion request.
      java.lang.String word
      int wordCursor
    • Constructor Summary

      Constructors
      Constructor and Description
      CommandCompleter (int prefixLength, java.util.List<java.lang.String> candidates, java.lang.String word, int wordCursor, Compilation comp)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      java.lang.Throwable fillInStackTrace ()
      Compilation getCompilation ()
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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
      • word

        public java.lang.String word
      • wordCursor

        public int wordCursor
      • candidates

        public java.util.List<java.lang.String> candidates
    • Constructor Detail

      • CommandCompleter

        public CommandCompleter(int prefixLength,
         java.util.List<java.lang.String> candidates,
         java.lang.String word,
         int wordCursor,
         Compilation comp)
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /