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

Method apply

modules/gdscript/gdscript_parser.cpp:4271–4277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4269}
4270
4271bool GDScriptParser::AnnotationNode::apply(GDScriptParser *p_this, Node *p_target, ClassNode *p_class) {
4272 if (is_applied) {
4273 return true;
4274 }
4275 is_applied = true;
4276 return (p_this->*(p_this->valid_annotations[name].apply))(this, p_target, p_class);
4277}
4278
4279bool GDScriptParser::AnnotationNode::applies_to(uint32_t p_target_kinds) const {
4280 return (info->target_kind & p_target_kinds) > 0;

Callers 8

resolve_class_memberMethod · 0.45
resolve_class_bodyMethod · 0.45
resolve_suiteMethod · 0.45
resolve_match_branchMethod · 0.45
parse_programMethod · 0.45
parse_class_bodyMethod · 0.45
parse_statementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected