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

Method visit

src/simulate/simulate_fusion.cpp:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 SimNode * SimNode_Op1Fusion::visit(SimVisitor & vis) {
35 V_BEGIN();
36 string name = op;
37 name += getSimSourceName(subexpr.type);
38 if ( baseType!=Type::none && baseType!=Type::anyArgument ) {
39 vis.op(name.c_str(), getTypeBaseSize(baseType), das_to_string(baseType));
40 } else {
41 vis.op(name.c_str());
42 }
43 subexpr.visit(vis);
44 V_END();
45 }
46
47 SimNode * SimNode_Op2Fusion::visit(SimVisitor & vis) {
48 V_BEGIN();

Callers 1

fusionContextFunction · 0.45

Calls 5

getSimSourceNameFunction · 0.85
getTypeBaseSizeFunction · 0.85
das_to_stringFunction · 0.85
opMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected