Modifiers | Name | Description |
---|---|---|
static enum |
GroovySyntaxCompleter.CompletionCase |
|
static class |
GroovySyntaxCompleter.InStringException |
Constructor and description |
---|
GroovySyntaxCompleter
(Groovysh shell, ReflectionCompleter reflectionCompleter, IdentifierCompleter classnameCompleter, List<IdentifierCompleter> identifierCompleters, Completer filenameCompleter) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
complete(String bufferLine, int cursor, List<CharSequence> candidates) |
|
int |
completeIdentifier(List<Token> tokens, List<CharSequence> candidates) |
|
static Object |
createTokenStream(String text) |
|
static GroovySyntaxCompleter.CompletionCase |
getCompletionCase(List<Token> tokens) |
|
static boolean |
isCommand(String bufferLine, CommandRegistry registry) |
|
static boolean |
tokenizeBuffer(String bufferLine, List<String> previousLines, List<Token> result) Adds to result the identified tokens for the bufferLines |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.