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

Method updateSemanticHash

src/ast/ast_simulate.cpp:3687–3694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3685 }
3686
3687 void Program::updateSemanticHash() {
3688 thisModule->structures.foreach([&](StructurePtr & ps){
3689 HashBuilder hb;
3690 das_set<Structure *> dep;
3691 das_set<Annotation *> adep;
3692 ps->ownSemanticHash = ps->getOwnSemanticHash(hb,dep,adep);
3693 });
3694 }
3695
3696 bool Program::simulate ( Context & context, TextWriter & logs, StackAllocator * sharedStack ) {
3697 CompilationCallbackGuard callbackGuard("", thisModule->fileName, "simulation");

Callers 2

visitMethod · 0.80
parseDaScriptFunction · 0.80

Calls 2

foreachMethod · 0.45
getOwnSemanticHashMethod · 0.45

Tested by

no test coverage detected