mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add grouping annotations for class properties in GDScript
This commit is contained in:
parent
b4644e2835
commit
f85bafaa11
8 changed files with 123 additions and 15 deletions
|
@ -307,6 +307,8 @@ void ExtendGDScriptParser::parse_class_symbol(const GDScriptParser::ClassNode *p
|
|||
parse_class_symbol(m.m_class, symbol);
|
||||
r_symbol.children.push_back(symbol);
|
||||
} break;
|
||||
case ClassNode::Member::GROUP:
|
||||
break; // No-op, but silences warnings.
|
||||
case ClassNode::Member::UNDEFINED:
|
||||
break; // Unreachable.
|
||||
}
|
||||
|
@ -815,6 +817,8 @@ Dictionary ExtendGDScriptParser::dump_class_api(const GDScriptParser::ClassNode
|
|||
methods.append(dump_function_api(m.function));
|
||||
}
|
||||
} break;
|
||||
case ClassNode::Member::GROUP:
|
||||
break; // No-op, but silences warnings.
|
||||
case ClassNode::Member::UNDEFINED:
|
||||
break; // Unreachable.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue