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

Method localVariable

libsolidity/codegen/ir/Common.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112std::string IRNames::localVariable(VariableDeclaration const& _declaration)
113{
114 return "var_" + _declaration.name() + '_' + std::to_string(_declaration.id());
115}
116
117std::string IRNames::localVariable(Expression const& _expression)
118{

Callers 4

translateReferenceMethod · 0.45
initializeLocalVarMethod · 0.45
endVisitMethod · 0.45

Calls 3

to_stringFunction · 0.50
nameMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected