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

Function concat

utils/dasFormatter/helpers.cpp:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223
224
225 LineInfo concat(LineInfo first, LineInfo last) {
226 return LineInfo(
227 first.fileInfo,
228 first.column,
229 first.line,
230 last.last_column,
231 last.last_line);
232 }
233
234 static bool is_empty(const string &str) {
235 return all_of(str.begin(), str.end(), [](auto c)

Callers 1

yyparseFunction · 0.70

Calls 1

LineInfoClass · 0.50

Tested by

no test coverage detected