Interface ICompletionResponse
-
- All Known Implementing Classes:
CompletionResponse
public interface ICompletionResponseCompletion response API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddCompletionAttribute(org.eclipse.lsp4j.CompletionItem item)Add completion attribute.voidaddCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem)Add completion item.voidaddCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem, boolean comingFromGrammar)Add completion item and mark as coming from grammar.booleanhasAttribute(String attribute)booleanhasSomeItemFromGrammar()Returnstrueif there are completion items coming from grammar and false otherwise.
-
-
-
Method Detail
-
addCompletionItem
void addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem, boolean comingFromGrammar)Add completion item and mark as coming from grammar.- Parameters:
completionItem-comingFromGrammar-
-
addCompletionItem
void addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem)
Add completion item.- Parameters:
completionItem-
-
hasAttribute
boolean hasAttribute(String attribute)
-
addCompletionAttribute
void addCompletionAttribute(org.eclipse.lsp4j.CompletionItem item)
Add completion attribute.- Parameters:
item-
-
hasSomeItemFromGrammar
boolean hasSomeItemFromGrammar()
Returnstrueif there are completion items coming from grammar and false otherwise.- Returns:
trueif there are completion items coming from grammar and false otherwise.
-
-