Interface ITypeRequestor
- All Known Implementing Classes:
CodeSnippetCompiler,CompilationUnitProblemFinder,Compiler,CompletionEngine,Engine,HierarchyResolver,MatchLocator,SelectionEngine,SourceIndexer
public interface ITypeRequestor
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Accept the resolved binary form for the requested type.voidaccept(ICompilationUnit unit, AccessRestriction accessRestriction) Accept the requested type's compilation unit.default voidaccept(IModule module, LookupEnvironment environment) Accept the requested module, could come in in one of 3 different forms:IBinaryModuleISourceModuleIModule.AutoModulevoidaccept(ISourceType[] sourceType, PackageBinding packageBinding, AccessRestriction accessRestriction) Accept the unresolved source forms for the requested type.
-
Method Details
-
accept
void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Accept the resolved binary form for the requested type. -
accept
Accept the requested type's compilation unit. -
accept
void accept(ISourceType[] sourceType, PackageBinding packageBinding, AccessRestriction accessRestriction) Accept the unresolved source forms for the requested type. Note that the multiple source forms can be answered, in case the target compilation unit contains multiple types. The first one is then guaranteed to be the one corresponding to the requested type. -
accept
Accept the requested module, could come in in one of 3 different forms:IBinaryModuleISourceModule- IModule.AutoModule
- Since:
- 3.14
-