mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce FunctionKind::Declaration and allow accessing function signatures via contract name.
This commit is contained in:
@@ -120,8 +120,8 @@ public:
|
||||
return _type;
|
||||
}
|
||||
|
||||
/// @returns the internally-facing or externally-facing type of a function.
|
||||
static FunctionType const* function(FunctionDefinition const& _function, bool _isInternal = true);
|
||||
/// @returns the internally-facing or externally-facing type of a function or the type of a function declaration.
|
||||
static FunctionType const* function(FunctionDefinition const& _function, FunctionType::Kind _kind = FunctionType::Kind::Declaration);
|
||||
|
||||
/// @returns the accessor function type of a state variable.
|
||||
static FunctionType const* function(VariableDeclaration const& _varDecl);
|
||||
|
||||
Reference in New Issue
Block a user