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

Method constructor

libsolidity/ast/AST.cpp:184–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184FunctionDefinition const* ContractDefinition::constructor() const
185{
186 for (FunctionDefinition const* f: definedFunctions())
187 if (f->isConstructor())
188 return f;
189 return nullptr;
190}
191
192bool ContractDefinition::canBeDeployed() const
193{

Callers 15

userDocumentationMethod · 0.45
devDocumentationMethod · 0.45
generateMethod · 0.45
visitManuallyMethod · 0.45
checkInternalMethod · 0.45
buildCreationGraphMethod · 0.45
newExpressionTypeMethod · 0.45
nextConstructorMethod · 0.45
endVisitMethod · 0.45
visitDeploymentMethod · 0.45

Calls 1

isConstructorMethod · 0.80

Tested by 2

userDocumentationMethod · 0.36
devDocumentationMethod · 0.36