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

Method structured_text_parser

scene/gui/control.cpp:3487–3496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3485// Internationalization.
3486
3487TypedArray<Vector3i> Control::structured_text_parser(TextServer::StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {
3488 ERR_READ_THREAD_GUARD_V(TypedArray<Vector3i>());
3489 if (p_parser_type == TextServer::STRUCTURED_TEXT_CUSTOM) {
3490 TypedArray<Vector3i> ret;
3491 GDVIRTUAL_CALL(_structured_text_parser, p_args, p_text, ret);
3492 return ret;
3493 } else {
3494 return TS->parse_structured_text(p_parser_type, p_args, p_text);
3495 }
3496}
3497
3498void Control::set_layout_direction(Control::LayoutDirection p_direction) {
3499 ERR_MAIN_THREAD_GUARD;

Callers

nothing calls this directly

Calls 1

parse_structured_textMethod · 0.45

Tested by

no test coverage detected