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

Method sub

src/simulate/simulate_print.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 ss << argV;
200 }
201 virtual void sub ( SimNode ** nodes, uint32_t count, const char * argN ) override {
202 // mixed hash and regular print
203 write(&count, sizeof(count));
204 write(argN);
205 crlf();
206 for ( uint32_t t = 0; t!=count; ++t ) {
207 if ( t ) crlf();
208 nodes[t] = nodes[t]->visit(*this);
209 }
210 }
211 virtual SimNode * sub ( SimNode * node, const char * opN ) override {
212 // hash
213 write(opN);

Callers

nothing calls this directly

Calls 3

subFunction · 0.85
writeFunction · 0.50
visitMethod · 0.45

Tested by

no test coverage detected