Interface ITypeRequestor
- All Known Implementing Classes:
CodeSnippetCompiler
,CompilationUnitProblemFinder
,Compiler
,CompletionEngine
,Engine
,HierarchyResolver
,MatchLocator
,SelectionEngine
,SourceIndexer
public interface ITypeRequestor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction) Accept the resolved binary form for the requested type.void
accept
(ICompilationUnit unit, AccessRestriction accessRestriction) Accept the requested type's compilation unit.default void
accept
(IModule module, LookupEnvironment environment) Accept the requested module, could come in in one of 3 different forms:IBinaryModule
ISourceModule
IModule.AutoModulevoid
accept
(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:IBinaryModule
ISourceModule
- IModule.AutoModule
- Since:
- 3.14
-