MCPcopy Create free account
hub / github.com/argotorg/solidity / setRemappings

Method setRemappings

libsolidity/interface/CompilerStack.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void CompilerStack::setRemappings(std::vector<ImportRemapper::Remapping> _remappings)
219{
220 solAssert(m_stackState < ParsedAndImported, "Must set remappings before parsing.");
221 for (auto const& remapping: _remappings)
222 solAssert(!remapping.prefix.empty(), "");
223 m_importRemapper.setRemappings(std::move(_remappings));
224}
225
226void CompilerStack::setViaIR(bool _viaIR)
227{

Callers 3

BOOST_AUTO_TEST_CASEFunction · 0.45
compileSolidityMethod · 0.45
compileMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected