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

Method compile

sources/instance/instance.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 void instance_type::compile(const std::string &path)
132 {
133 // Read from file
134 context->file_path = path;
135 std::ifstream in(path, std::ios::binary);
136 if (!in.is_open())
137 throw fatal_error(path + ": No such file or directory");
138 compile(in);
139 }
140
141 void instance_type::compile(std::istream &in)
142 {

Callers 5

covscript_mainFunction · 0.80
covscript_mainFunction · 0.80
source_importMethod · 0.80
importMethod · 0.80
runMethod · 0.80

Calls 6

fatal_errorClass · 0.85
clear_metadataMethod · 0.80
build_astMethod · 0.80
code_genMethod · 0.80
utilize_metadataMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected