Structs§
- Combined
Scan - A struct to group all rules according to their potential kinds. This can greatly reduce traversal times and skip unmatchable rules. Rules are referenced by their index in the rules vector.
- Deserialize
Env - A struct to store information to deserialize rules.
- Fixer
- PreScan
- Rule
Collection - A collection of rules to run one round of scanning. Rules will be grouped together based on their language, path globbing and pattern rule.
- Rule
Config - Rule
Core - Serializable
Rule - A rule object to find matching AST nodes. We have three categories of rules in ast-grep.
- Serializable
Rule Config - Serializable
Rule Core - Used for global rules, rewriters, and pyo3/napi