()
| 138 | |
| 139 | impl ValidationContext { |
| 140 | fn new() -> Self { |
| 141 | let mut ctx = Self { |
| 142 | declared_variables: HashSet::new(), |
| 143 | variable_types: HashMap::new(), |
| 144 | function_signatures: HashMap::new(), |
| 145 | _current_scope: Vec::new(), |
| 146 | has_graph_context: false, |
| 147 | property_types: HashMap::new(), |
| 148 | }; |
| 149 | |
| 150 | // Register built-in functions |
| 151 | ctx.register_builtin_functions(); |
| 152 | ctx |
| 153 | } |
| 154 | |
| 155 | fn register_builtin_functions(&mut self) { |
| 156 | use crate::ast::TypeSpec as GqlType; |
nothing calls this directly
no test coverage detected