You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analysis is reachable only through the CLI: Manticore perform_analysis (Main.php) depends on the global CompileArgs files, parses everything, loads the prelude on every run, builds Index for the whole set and prints. Index::build is batch-only and Diagnostic has a single point. An editor needs per-document updates and ranges.
Scope
Workspace-style API: open/update/close a document, diagnostics for a URI. No globals, no echo, no exit codes; AnalyzeCommand becomes a thin caller.
Index::replaceFile / removeFile plus a reverse-dependency map (extends, implements, uses, traits) for invalidation. Prelude and stdlib signatures loaded once per process.
Diagnostic gains end line/col, optional related locations and tags; Report::json stays backward compatible.
Position queries: nodeAt, enclosing scope, type at position, definition of a name, all references.
Rules tolerate error nodes; closed-world undefined-symbol rules are suppressed in files with parse errors.
Depends on
Parser tolerant mode, end positions, name occurrences.
Acceptance
Library result equals analyze --json on the corpus; CLI output unchanged apart from added fields.
Warm single-file update within a budget measured on a mid-size project.
Activity