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

Method globalSymbol

libsolidity/formal/EncodingContext.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169/// Global variables and functions.
170
171std::shared_ptr<SymbolicVariable> EncodingContext::globalSymbol(std::string const& _name)
172{
173 solAssert(knownGlobalSymbol(_name), "");
174 return m_globalContext.at(_name);
175}
176
177bool EncodingContext::createGlobalSymbol(std::string const& _name, frontend::Expression const& _expr)
178{

Callers 3

visitGasLeftMethod · 0.80
defineGlobalVariableMethod · 0.80

Calls 1

atMethod · 0.80

Tested by

no test coverage detected