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

Method _get_indent_char_name

modules/gdscript/gdscript_tokenizer.cpp:1298–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1296}
1297
1298String GDScriptTokenizerText::_get_indent_char_name(char32_t ch) {
1299 ERR_FAIL_COND_V(ch != ' ' && ch != '\t', String::chr(ch).c_escape());
1300
1301 return ch == ' ' ? "space" : "tab";
1302}
1303
1304void GDScriptTokenizerText::_skip_whitespace() {
1305 if (pending_indents != 0) {

Callers

nothing calls this directly

Calls 1

c_escapeMethod · 0.80

Tested by

no test coverage detected