Class CompletionBuilder
java.lang.Object
io.deephaven.lang.completion.results.CompletionBuilder
- Direct Known Subclasses:
CompleteAssignment
,CompleteColumnExpression
,CompleteColumnName
,CompleteInvocation
,CompleteTableName
,CompleteTableNamespace
,CompleteVarName
Some basic tools for computing completion results.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addMatch
(Collection<CompletionItem.Builder> results, Token startToken, Token endToken, String match, CompletionRequest index, CompletionOptions options) protected void
addTokens
(StringBuilder b, Token tok, String... suffix) protected DocumentRange.Builder
placeAfter
(Node node, CompletionRequest request) protected DocumentRange.Builder
replaceNode
(Node node, CompletionRequest request) protected DocumentRange.Builder
replaceToken
(Token startToken, CompletionRequest request) protected DocumentRange.Builder
replaceTokens
(Token startToken, Token endToken, CompletionRequest request)
-
Field Details
-
start
protected int start -
len
protected int len
-
-
Constructor Details
-
CompletionBuilder
-
-
Method Details
-
getCompleter
-
addTokens
-
replaceNode
-
replaceToken
-
replaceTokens
protected DocumentRange.Builder replaceTokens(Token startToken, Token endToken, CompletionRequest request) -
placeAfter
-
addMatch
protected void addMatch(Collection<CompletionItem.Builder> results, Token startToken, Token endToken, String match, CompletionRequest index, CompletionOptions options)
-