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

Method write_newline

modules/gdscript/gdscript_byte_codegen.cpp:1835–1842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1833}
1834
1835void GDScriptByteCodeGenerator::write_newline(int p_line) {
1836 if (GDScriptLanguage::get_singleton()->should_track_call_stack()) {
1837 // Add newline for debugger and stack tracking if enabled in the project settings.
1838 append_opcode(GDScriptFunction::OPCODE_LINE);
1839 append(p_line);
1840 current_line = p_line;
1841 }
1842}
1843
1844void GDScriptByteCodeGenerator::write_return(const Address &p_return_value) {
1845 if (!function->return_type.has_type || p_return_value.type.has_type) {

Callers 3

_parse_blockMethod · 0.80
_parse_functionMethod · 0.80

Calls 1

Tested by

no test coverage detected