MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / substring_between

Function substring_between

utils/dasFormatter/formatter.cpp:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 string substring_between(LineInfo info1, LineInfo info2) {
117 return get_substring(Pos{info1.last_line, info1.last_column},
118 Pos{info2.line, info2.column});
119 }
120
121 string get_line(uint32_t line) {
122 if (line - 1 >= state.content_.size()) {

Callers 3

yyparseFunction · 0.85
handle_msdFunction · 0.85
skip_spaces_or_printFunction · 0.85

Calls 1

get_substringFunction · 0.85

Tested by

no test coverage detected