Uses of Interface
org.jline.reader.ParsedLine
-
Packages that use ParsedLine Package Description org.jline.builtins JLine Builtins provides a collection of utility classes and implementations for common terminal functionality.org.jline.console JLine Console package provides a framework for building interactive command-line applications.org.jline.console.impl org.jline.reader JLine 3 Reader Package - Core components for building interactive command-line interfaces.org.jline.reader.impl JLine 3 Reader Implementation Package.org.jline.reader.impl.completer JLine 3 Completer Implementations. -
-
Uses of ParsedLine in org.jline.builtins
Classes in org.jline.builtins that implement ParsedLine Modifier and Type Class Description static class
Completers.RegexCompleter.ArgumentLine
A simple implementation of ParsedLine for argument completion.Methods in org.jline.builtins with parameters of type ParsedLine Modifier and Type Method Description void
Completers.AnyCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
Completes the current word by returning it as a candidate.void
Completers.Completer. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
Completes the current input line.void
Completers.FileNameCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
void
Completers.OptionCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
Completes command options and arguments.void
Completers.RegexCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
Completes the current input line using the regex pattern.void
Completers.TreeCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
Completes the current input line using the tree structure.protected void
Completers.Completer. completeCommandArguments(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates, java.util.List<Completers.CompletionData> completions)
Completes command arguments based on completion data.protected void
Completers.OptDesc. completeOption(LineReader reader, ParsedLine commandLine, java.util.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, java.util.List<Candidate> candidates, java.lang.String curBuf, java.lang.String partialValue)
Completes the value for an option.java.lang.Object
Completers.CompletionEnvironment. evaluate(LineReader reader, ParsedLine line, java.lang.String func)
Evaluates a function in the current environment context.protected void
Completers.Completer. tryCompleteArguments(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
Attempts to complete command arguments. -
Uses of ParsedLine in org.jline.console
Methods in org.jline.console with parameters of type ParsedLine Modifier and Type Method Description boolean
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 Modifier and Type Method Description boolean
SystemRegistryImpl. isCommandOrScript(ParsedLine line)
-
Uses of ParsedLine in org.jline.reader
Subinterfaces of ParsedLine in org.jline.reader Modifier and Type Interface Description interface
CompletingParsedLine
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 ParsedLine Modifier and Type Method Description ParsedLine
LineReader. getParsedLine()
Returns the parsed representation of the current line.default ParsedLine
Parser. parse(java.lang.String line, int cursor)
ParsedLine
Parser. parse(java.lang.String line, int cursor, Parser.ParseContext context)
Methods in org.jline.reader with parameters of type ParsedLine Modifier and Type Method Description void
Completer. complete(LineReader reader, ParsedLine line, java.util.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 ParsedLine Modifier and Type Class Description class
DefaultParser.ArgumentList
The result of a delimited buffer.Fields in org.jline.reader.impl declared as ParsedLine Modifier and Type Field Description protected ParsedLine
LineReaderImpl. parsedLine
Methods in org.jline.reader.impl that return ParsedLine Modifier and Type Method Description ParsedLine
LineReaderImpl. getParsedLine()
ParsedLine
DefaultParser. parse(java.lang.String line, int cursor, Parser.ParseContext context)
Methods in org.jline.reader.impl with parameters of type ParsedLine Modifier and Type Method Description protected static CompletingParsedLine
LineReaderImpl. wrap(ParsedLine line)
-
Uses of ParsedLine in org.jline.reader.impl.completer
Classes in org.jline.reader.impl.completer that implement ParsedLine Modifier and Type Class Description static class
ArgumentCompleter.ArgumentLine
A simple implementation of ParsedLine for argument completion.Methods in org.jline.reader.impl.completer with parameters of type ParsedLine Modifier and Type Method Description void
AggregateCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
Perform a completion operation across all aggregated completers.void
ArgumentCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
void
FileNameCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
Deprecated.void
NullCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)
void
StringsCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
void
SystemCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
-