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

Function destroy

utils/dasFormatter/formatter.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void destroy() {
56 if (!state.content_.empty()) {
57 try_print_until(Pos{static_cast<uint32_t>(state.content_.size()),
58 static_cast<uint32_t>(state.content_.back().size())});
59 }
60 state.ss = nullptr;
61 state.enabled = false;
62 state.last = {};
63 state.options = {};
64 state.content_ = {};
65 }
66
67 void set_to(Pos info) {
68 assert(state.last <= info);

Callers 5

~xpath_queryMethod · 0.85
pugixml.cppFile · 0.85
transform_syntaxFunction · 0.85
~ContextScopeMethod · 0.85
DOCTEST_DEFINE_DECORATORFunction · 0.85

Calls 3

try_print_untilFunction · 0.85
emptyMethod · 0.45
sizeMethod · 0.45

Tested by 2

~ContextScopeMethod · 0.68
DOCTEST_DEFINE_DECORATORFunction · 0.68