scala.tools.nsc.interpreter.JLineCompletion
A list of useful information regarding a specific uniquely identified completion.
A list of useful information regarding a specific uniquely identified completion. This is specifically written for the following situation, but should be useful elsewhere too:
x.y.z.methodName<tab>
If "methodName" is among z's completions, and verbosity > 0 indicating tab has been pressed twice consecutively, then we call alternativesFor and show a list of overloaded method signatures.
The complete list of unqualified Strings to which this object will complete.
The complete list of unqualified Strings to which this object will complete.
Given string 'buf', return a list of all the strings to which it can complete.
Given string 'buf', return a list of all the strings to which it can complete. This may involve delegating to other CompletionAware objects.
What to return if this completion is given as a command.
What to return if this completion is given as a command. It returns None by default, which means to allow the repl to interpret the line normally. Returning Some(_) means the line will never reach the scala interpreter.
TODO - unify this and completionsFor under a common traverser.
TODO - unify this and completionsFor under a common traverser.
Default filter to apply to completions.
Default filter to apply to completions.
The next completor in the chain.
The next completor in the chain.
Default map.
Default map.
Default sort.
Default sort.