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

Method applies_to

modules/gdscript/gdscript_parser.cpp:4279–4281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4277}
4278
4279bool GDScriptParser::AnnotationNode::applies_to(uint32_t p_target_kinds) const {
4280 return (info->target_kind & p_target_kinds) > 0;
4281}
4282
4283bool GDScriptParser::validate_annotation_arguments(AnnotationNode *p_annotation) {
4284 ERR_FAIL_COND_V_MSG(!valid_annotations.has(p_annotation->name), false, vformat(R"(Annotation "%s" not found to validate.)", p_annotation->name));

Callers 5

parse_programMethod · 0.80
parse_class_memberMethod · 0.80
parse_class_bodyMethod · 0.80
parse_annotationMethod · 0.80
parse_statementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected