Interface ICompletionResponse

All Known Implementing Classes:
ExpressionCompletionResponse

public interface ICompletionResponse
Completion response API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCompletionAttribute(org.eclipse.lsp4j.CompletionItem item)
    Add completion attribute.
    void
    addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem)
    Add completion item.
    void
    addCompletionItem(org.eclipse.lsp4j.CompletionItem completionItem, boolean comingFromGrammar)
    Add completion item and mark as coming from grammar.
    boolean
    hasAttribute(String attribute)
     
    boolean
    Returns true if there are completion items coming from grammar and false otherwise.
  • Method Details

    • 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()
      Returns true if there are completion items coming from grammar and false otherwise.
      Returns:
      true if there are completion items coming from grammar and false otherwise.