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

Method isFileLevelVariable

libsolidity/ast/AST.cpp:831–834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831bool VariableDeclaration::isFileLevelVariable() const
832{
833 return dynamic_cast<SourceUnit const*>(scope());
834}
835
836std::set<VariableDeclaration::Location> VariableDeclaration::allowedDataLocations() const
837{

Callers 5

visitMethod · 0.80
endVisitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected