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 classCompleters.RegexCompleter.ArgumentLineA simple implementation of ParsedLine for argument completion.Methods in org.jline.builtins with parameters of type ParsedLine Modifier and Type Method Description voidCompleters.AnyCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)Completes the current word by returning it as a candidate.voidCompleters.Completer. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Completes the current input line.voidCompleters.FileNameCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)voidCompleters.OptionCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)Completes command options and arguments.voidCompleters.RegexCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Completes the current input line using the regex pattern.voidCompleters.TreeCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Completes the current input line using the tree structure.protected voidCompleters.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 voidCompleters.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 booleanCompleters.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.ObjectCompleters.CompletionEnvironment. evaluate(LineReader reader, ParsedLine line, java.lang.String func)Evaluates a function in the current environment context.protected voidCompleters.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 booleanSystemRegistry. 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 voidConsoleEngineImpl.VariableReferenceCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)booleanSystemRegistryImpl. isCommandOrScript(ParsedLine line) -
Uses of ParsedLine in org.jline.reader
Subinterfaces of ParsedLine in org.jline.reader Modifier and Type Interface Description interfaceCompletingParsedLineAn 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 ParsedLine Modifier and Type Method Description ParsedLineLineReader. getParsedLine()Returns the parsed representation of the current line.default ParsedLineParser. parse(java.lang.String line, int cursor)ParsedLineParser. 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 voidCompleter. 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 classDefaultParser.ArgumentListThe result of a delimited buffer.Fields in org.jline.reader.impl declared as ParsedLine Modifier and Type Field Description protected ParsedLineLineReaderImpl. parsedLineMethods in org.jline.reader.impl that return ParsedLine Modifier and Type Method Description ParsedLineLineReaderImpl. getParsedLine()ParsedLineDefaultParser. 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 CompletingParsedLineLineReaderImpl. 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 classArgumentCompleter.ArgumentLineA simple implementation of ParsedLine for argument completion.Methods in org.jline.reader.impl.completer with parameters of type ParsedLine Modifier and Type Method Description voidAggregateCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)Perform a completion operation across all aggregated completers.voidArgumentCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)voidFileNameCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)Deprecated.voidNullCompleter. complete(LineReader reader, ParsedLine line, java.util.List<Candidate> candidates)voidStringsCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)voidSystemCompleter. complete(LineReader reader, ParsedLine commandLine, java.util.List<Candidate> candidates)
-