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

Method endVisit

libsolidity/analysis/PostTypeChecker.cpp:491–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489 {}
490 bool willBeWrittenTo() const { return m_willBeWrittenTo; }
491 void endVisit(Identifier const& _identifier) override
492 {
493 if (m_willBeWrittenTo)
494 return;
495
496 solAssert(_identifier.annotation().referencedDeclaration);
497 if (
498 *_identifier.annotation().referencedDeclaration == *m_declaration &&
499 _identifier.annotation().willBeWrittenTo
500 )
501 m_willBeWrittenTo = true;
502 }
503 void endVisit(InlineAssembly const& _inlineAssembly) override
504 {
505 if (m_willBeWrittenTo)

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
willBeWrittenToMethod · 0.45

Tested by

no test coverage detected