Free-vars
A utility to collect free variables over a C AST.
This returns a set of all identifiers used as variables within the AST,
excluding those variables which have first been declared, i.e. in a
statement declaration or as a function parameter.
It only considers variables of regular data object, not other types of
named language constructs, such as typedef type names.
Subtopics
- Free-vars-initdeclor-list
- Collect free variables appearing in a list of initializer
declarators.
- Free-vars-initdeclor
- Collect free variables appearing in an initializer declarator.
- Free-vars-decl-list
- Collect free variables appearing in a list of declarations.
- Free-vars-decl
- Collect free variables appearing in a declaration.
- Free-vars-fundef
- Collect free variables appearing in a function function definition.
- Free-vars-desiniter-list
- Collect free variables appearing in a list of initializers with
optional designations.
- Free-vars-initer-option
- Collect free variables appearing in an optional initializer.
- Free-vars-genassoc-list
- Collect free variables appearing in a generic association list.
- Free-vars-desiniter
- Collect free variables appearing in an initializer with optional
designations.
- Free-vars-block-item
- Collect free variables appearing in a block item.
- Free-vars-stmt
- Collect free variables appearing in a statement.
- Free-vars-initer
- Collect free variables appearing in an initializer.
- Free-vars-genassoc
- Collect free variables appearing in a generic association.
- Free-vars-expr-option
- Collect free variables appearing in an optional expression.
- Free-vars-expr-list
- Collect free variables appearing in an expression list.
- Free-vars-expr
- Collect free variables appearing in an expression.
- Free-vars-block-item-list
- Collect free variables appearing in a list of block item.
- Dirdeclor-get-ident
- Get the identifier described by a direct declarator.
- Declor-get-ident
- Get the identifier described by a declarator.