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 TypeMethodDescriptionvoidcomplete(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
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 triggeredcompletionPosition- the position that completion was triggered atadjustment- the amount to subtract from all positions in completion proposals passed to the requestorroot- the type root for which completion was triggered
-