Uses of Interface
org.jline.reader.ParsedLine
Packages that use ParsedLine
Package
Description
JLine Builtins provides a collection of utility classes and implementations for common terminal
functionality.
JLine Console package provides a framework for building interactive command-line applications.
JLine 3 Reader Package - Core components for building interactive command-line interfaces.
JLine 3 Reader Implementation Package.
JLine 3 Completer Implementations.
-
Uses of ParsedLine in org.jline.builtins
Classes in org.jline.builtins that implement ParsedLineModifier and TypeClassDescriptionstatic class
A simple implementation of ParsedLine for argument completion.Methods in org.jline.builtins with parameters of type ParsedLineModifier and TypeMethodDescriptionvoid
Completers.AnyCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Completes the current word by returning it as a candidate.void
Completers.Completer.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line.void
Completers.FileNameCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) void
Completers.OptionCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Completes command options and arguments.void
Completers.RegexCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line using the regex pattern.void
Completers.TreeCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line using the tree structure.protected void
Completers.Completer.completeCommandArguments
(LineReader reader, ParsedLine line, List<Candidate> candidates, List<Completers.CompletionData> completions) Completes command arguments based on completion data.protected void
Completers.OptDesc.completeOption
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates, boolean longOpt) Completes an option based on whether it's a short or long option.protected boolean
Completers.OptDesc.completeValue
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates, String curBuf, String partialValue) Completes the value for an option.Completers.CompletionEnvironment.evaluate
(LineReader reader, ParsedLine line, String func) Evaluates a function in the current environment context.protected void
Completers.Completer.tryCompleteArguments
(LineReader reader, ParsedLine line, List<Candidate> candidates) Attempts to complete command arguments. -
Uses of ParsedLine in org.jline.console
Methods in org.jline.console with parameters of type ParsedLineModifier and TypeMethodDescriptionboolean
SystemRegistry.isCommandOrScript
(ParsedLine line) Checks if a parsed line contains a command or script that is known to this registry. -
Uses of ParsedLine in org.jline.console.impl
Methods in org.jline.console.impl with parameters of type ParsedLine -
Uses of ParsedLine in org.jline.reader
Subinterfaces of ParsedLine in org.jline.readerModifier and TypeInterfaceDescriptioninterface
An extension ofParsedLine
that, being aware of the quoting and escaping rules of theParser
that produced it, knows if and how a completion candidate should be escaped/quoted.Methods in org.jline.reader that return ParsedLineModifier and TypeMethodDescriptionLineReader.getParsedLine()
Returns the parsed representation of the current line.default ParsedLine
Parser.parse
(String line, int cursor, Parser.ParseContext context) Methods in org.jline.reader with parameters of type ParsedLineModifier and TypeMethodDescriptionvoid
Completer.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Populates candidates with a list of possible completions for the command line. -
Uses of ParsedLine in org.jline.reader.impl
Classes in org.jline.reader.impl that implement ParsedLineModifier and TypeClassDescriptionclass
The result of a delimited buffer.Fields in org.jline.reader.impl declared as ParsedLineMethods in org.jline.reader.impl that return ParsedLineModifier and TypeMethodDescriptionLineReaderImpl.getParsedLine()
DefaultParser.parse
(String line, int cursor, Parser.ParseContext context) Methods in org.jline.reader.impl with parameters of type ParsedLineModifier and TypeMethodDescriptionprotected static CompletingParsedLine
LineReaderImpl.wrap
(ParsedLine line) -
Uses of ParsedLine in org.jline.reader.impl.completer
Classes in org.jline.reader.impl.completer that implement ParsedLineModifier and TypeClassDescriptionstatic class
A simple implementation of ParsedLine for argument completion.Methods in org.jline.reader.impl.completer with parameters of type ParsedLineModifier and TypeMethodDescriptionvoid
AggregateCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) Perform a completion operation across all aggregated completers.void
ArgumentCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) void
FileNameCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Deprecated.void
NullCompleter.complete
(LineReader reader, ParsedLine line, List<Candidate> candidates) void
StringsCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) void
SystemCompleter.complete
(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)