open fun analysis(doAnalysis:
.(project: Project, module: ModuleDescriptor, projectContext: ProjectContext, files:
<KtFile>, bindingTrace: BindingTrace, componentProvider: ComponentProvider) -> AnalysisResult?, analysisCompleted:
.(project: Project, module: ModuleDescriptor, bindingTrace: BindingTrace, files:
<KtFile>) -> AnalysisResult? = Noop.nullable5()):
The analysis function allows us to intercept analysis before and after it happens, altering the analysis inputs and outputs. Altering the inputs on @doAnalysis allows us to modify the compiler trees in the AST before they are considered for resolution. This allows us to build the Quote in this phase, which is Arrow Meta’s higher level API. Altering the output with analysisCompleted allows us to modify the binding trace and all elements resulting from analysis.
Do you like Arrow?✖