MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / resolve_suite

Method resolve_suite

modules/gdscript/gdscript_analyzer.cpp:2062–2075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2060}
2061
2062void GDScriptAnalyzer::resolve_suite(GDScriptParser::SuiteNode *p_suite) {
2063 for (int i = 0; i < p_suite->statements.size(); i++) {
2064 GDScriptParser::Node *stmt = p_suite->statements[i];
2065 // Apply annotations.
2066 for (GDScriptParser::AnnotationNode *&E : stmt->annotations) {
2067 resolve_annotation(E);
2068 E->apply(parser, stmt, nullptr); /// @todo Provide `p_class`.
2069 }
2070
2071 resolve_node(stmt);
2072 resolve_pending_lambda_bodies();
2073 decide_suite_type(p_suite, stmt);
2074 }
2075}
2076
2077void GDScriptAnalyzer::resolve_assignable(GDScriptParser::AssignableNode *p_assignable, const char *p_kind) {
2078 GDScriptParser::DataType type;

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.65
applyMethod · 0.45

Tested by

no test coverage detected