Interface ICompletionEngine

All Known Implementing Classes:
CompletionEngine

public interface ICompletionEngine
Represents a class that can provide completion for a compilation unit.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    complete(ICompilationUnit sourceUnit, int completionPosition, int adjustment, ITypeRoot root)
    Provide completion items based on the given source unit and completion position to the configured requestor.
  • Method Details

    • complete

      void complete(ICompilationUnit sourceUnit, int completionPosition, int adjustment, ITypeRoot root)
      Provide completion items based on the given source unit and completion position to the configured requestor.
      Parameters:
      sourceUnit - the compilation unit for which completion was triggered
      completionPosition - the position that completion was triggered at
      adjustment - the amount to subtract from all positions in completion proposals passed to the requestor
      root - the type root for which completion was triggered