mergeASTIntoRegistry
function mergeASTIntoRegistry(astResults: AstMethodResult[]): voidRules
- For each AST row computing
fnKeyasclassName+.+fnName, skip when the registry has no such key. - When
paramsFromAstis non-empty, replaceRegistryEntry.params. - When
declaredReturnFromAstis defined, replacedeclaredReturn. - Label tables (
returns,errors,apiResponses) gettype+resolvedstatus when AST supplies matching labels discovered at registration time.
When to call
Usually invoked from bootstrap immediately after runASTScanner. Standalone tools can call it manually after populating the registry.