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

Method get_debug_name

modules/gdscript/gdscript_tokenizer.cpp:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176String GDScriptTokenizer::Token::get_debug_name() const {
177 switch (type) {
178 case IDENTIFIER:
179 return vformat(R"(identifier "%s")", source);
180 default:
181 return vformat(R"("%s")", get_name());
182 }
183}
184
185bool GDScriptTokenizer::Token::can_precede_bin_op() const {
186 switch (type) {

Callers 1

parse_class_bodyMethod · 0.80

Calls 2

vformatFunction · 0.85
get_nameFunction · 0.50

Tested by

no test coverage detected