MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / compile_code_string

Method compile_code_string

bytecode/bytecode_base.cpp:1621–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1619}
1620
1621Vector<uint8_t> GDScriptDecomp::compile_code_string(const String &p_code) {
1622 error_message = "";
1623
1624 Vector<uint8_t> buf = GDScriptTokenizerCompat::parse_code_string(p_code, this, error_message);
1625 GDSDECOMP_FAIL_COND_V_MSG(buf.size() == 0, Vector<uint8_t>(), "Error parsing code");
1626 if (check_compile_errors(buf)) {
1627 return Vector<uint8_t>();
1628 }
1629 return buf;
1630}
1631
1632Vector<String> GDScriptDecomp::get_bytecode_versions() {
1633 auto vers = GDScriptDecompVersion::get_decomp_versions();

Callers 10

reloadMethod · 0.80
unzip_and_copy_addonMethod · 0.80
test_exportMethod · 0.80
_compile_processMethod · 0.80
get_script_stringsMethod · 0.80
test_script_binaryFunction · 0.80
test_script_textFunction · 0.80
test_bytecode.hFile · 0.80
simple_pass_fail_testFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 4

test_exportMethod · 0.64
test_script_binaryFunction · 0.64
test_script_textFunction · 0.64
simple_pass_fail_testFunction · 0.64