Struct ezno_parser::VisitSettings
source · pub struct VisitSettings {
pub reverse_statements: bool,
pub visit_function_bodies: bool,
}Expand description
Options for behavior when visiting AST. Customizable behavior is important for analysis
Fields§
§reverse_statements: boolVisits statements in reverse, e.g
const x = 2;
const y = 3;
If reverse_statements is true will visit the const y = 3 statement first
visit_function_bodies: boolWill not visit parameters and statements in functions. This includes arrow functions