Skip to main content

collect_identifiers

Function collect_identifiers 

Source
pub fn collect_identifiers(ast: &AstNode, out: &mut HashSet<String>)
Expand description

Collect all variable identifiers referenced by the AST.

Built-in constants are reported like any other identifier; callers that validate against <pVariable> declarations should filter them with is_builtin_constant.