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

Function prepare_rule

utils/dasFormatter/formatter.cpp:133–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 bool prepare_rule(Pos pos) {
134 if (state.enabled && state.last <= pos) {
135 try_print_until(pos);
136 return true;
137 }
138 return false;
139 }
140
141 void finish_rule(Pos pos) {
142 assert(state.enabled && state.last <= pos);

Callers 7

yyparseFunction · 0.85
try_emit_at_eolFunction · 0.85
handle_braceFunction · 0.85
replace_withFunction · 0.85
skip_tokenFunction · 0.85
wrap_par_exprFunction · 0.85
skip_spaces_or_printFunction · 0.85

Calls 1

try_print_untilFunction · 0.85

Tested by

no test coverage detected