MCPcopy Create free account
hub / github.com/covscript/covscript / reset_status

Method reset_status

include/covscript/impl/impl.hpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 void exec(const string &);
140
141 void reset_status()
142 {
143 tmp.clear();
144 while (!methods.empty())
145 methods.pop_no_return();
146 multi_line = false;
147 line_buff.clear();
148 cmd_buff.clear();
149 context->compiler->utilize_metadata();
150 context->instance->storage.clear_set();
151 }
152
153 std::size_t get_level() const
154 {

Callers 1

covscript_mainFunction · 0.80

Calls 5

pop_no_returnMethod · 0.80
utilize_metadataMethod · 0.80
clear_setMethod · 0.80
clearMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected