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

Method Program

src/ast/ast_program.cpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 Program::Program() {
211 ref_count_magic = TRACK_PTR_PROGRAM;
212 thisModule = make_unique<ModuleDas>();
213 library.addBuiltInModule();
214 library.addModule(thisModule.get());
215 }
216
217 TypeDecl * Program::makeTypeDeclaration(const LineInfo &at, const string &name) {
218 das::vector<das::StructurePtr> structs;

Callers

nothing calls this directly

Calls 3

addBuiltInModuleMethod · 0.80
addModuleMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected