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

Method unquote

core/string/ustring.cpp:5855–5861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5853}
5854
5855String String::unquote() const {
5856 if (!is_quoted()) {
5857 return *this;
5858 }
5859
5860 return substr(1, length() - 2);
5861}
5862
5863// MinGW-GCC false positives because CharStringT::length() is int (so possibly < 0).
5864// Don't silence for regular GCC/Clang as this is code that _could_ exhibit actual overflow bugs.

Callers 9

_normalize_subtagsMethod · 0.80
append_textMethod · 0.80
_list_call_argumentsFunction · 0.80
complete_codeMethod · 0.80
resolveMethod · 0.80
_update_template_menuMethod · 0.80
_update_script_namesMethod · 0.80
_add_text_to_rtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected