pub fn seed_scope_from_program(store: &mut ScopeStore, root: &SyntaxNode)Expand description
Seed the root scope from a program AST (top-level classes, functions, globals only).
Also registers class fields and methods so member access (e.g. myCell.x) infers types.
Used when building scope from included files so the main file sees their declarations.