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 classA simple implementation of ParsedLine for argument completion.Methods in org.jline.builtins with parameters of type ParsedLineModifier and TypeMethodDescriptionvoidCompleters.AnyCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Completes the current word by returning it as a candidate.voidCompleters.Completer.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line.voidCompleters.FileNameCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) voidCompleters.OptionCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Completes command options and arguments.voidCompleters.RegexCompleter.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line using the regex pattern.voidCompleters.TreeCompleter.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) Completes the current input line using the tree structure.protected voidCompleters.Completer.completeCommandArguments(LineReader reader, ParsedLine line, List<Candidate> candidates, List<Completers.CompletionData> completions) Completes command arguments based on completion data.protected voidCompleters.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 booleanCompleters.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 voidCompleters.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 TypeMethodDescriptionbooleanSystemRegistry.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 ParsedLineModifier and TypeMethodDescriptionvoidConsoleEngineImpl.VariableReferenceCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) booleanSystemRegistryImpl.isCommandOrScript(ParsedLine line) -
Uses of ParsedLine in org.jline.reader
Subinterfaces of ParsedLine in org.jline.readerModifier and TypeInterfaceDescriptioninterfaceAn extension ofParsedLinethat, being aware of the quoting and escaping rules of theParserthat 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 ParsedLineParser.parse(String line, int cursor, Parser.ParseContext context) Methods in org.jline.reader with parameters of type ParsedLineModifier and TypeMethodDescriptionvoidCompleter.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 TypeClassDescriptionclassThe 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 CompletingParsedLineLineReaderImpl.wrap(ParsedLine line) -
Uses of ParsedLine in org.jline.reader.impl.completer
Classes in org.jline.reader.impl.completer that implement ParsedLineModifier and TypeClassDescriptionstatic classA simple implementation of ParsedLine for argument completion.Methods in org.jline.reader.impl.completer with parameters of type ParsedLineModifier and TypeMethodDescriptionvoidAggregateCompleter.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) Perform a completion operation across all aggregated completers.voidArgumentCompleter.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) voidFileNameCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) Deprecated.voidNullCompleter.complete(LineReader reader, ParsedLine line, List<Candidate> candidates) voidStringsCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates) voidSystemCompleter.complete(LineReader reader, ParsedLine commandLine, List<Candidate> candidates)