| 4249 | } |
| 4250 | |
| 4251 | bool GDScriptParser::SuiteNode::has_local(const StringName &p_name) const { |
| 4252 | if (locals_indices.has(p_name)) { |
| 4253 | return true; |
| 4254 | } |
| 4255 | if (parent_block != nullptr) { |
| 4256 | return parent_block->has_local(p_name); |
| 4257 | } |
| 4258 | return false; |
| 4259 | } |
| 4260 | |
| 4261 | const GDScriptParser::SuiteNode::Local &GDScriptParser::SuiteNode::get_local(const StringName &p_name) const { |
| 4262 | if (locals_indices.has(p_name)) { |
no test coverage detected