mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style.
This commit is contained in:
parent
6f7595e0e2
commit
7c996ac716
3
AST.h
3
AST.h
@ -563,7 +563,8 @@ private:
|
|||||||
class ModifierDefinition: public CallableDeclaration, public Documented
|
class ModifierDefinition: public CallableDeclaration, public Documented
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ModifierDefinition(SourceLocation const& _location,
|
ModifierDefinition(
|
||||||
|
SourceLocation const& _location,
|
||||||
ASTPointer<ASTString> const& _name,
|
ASTPointer<ASTString> const& _name,
|
||||||
ASTPointer<ASTString> const& _documentation,
|
ASTPointer<ASTString> const& _documentation,
|
||||||
ASTPointer<ParameterList> const& _parameters,
|
ASTPointer<ParameterList> const& _parameters,
|
||||||
|
@ -74,9 +74,11 @@ private:
|
|||||||
/// Creates code that unpacks the arguments for the given function represented by a vector of TypePointers.
|
/// Creates code that unpacks the arguments for the given function represented by a vector of TypePointers.
|
||||||
/// From memory if @a _fromMemory is true, otherwise from call data.
|
/// From memory if @a _fromMemory is true, otherwise from call data.
|
||||||
/// Expects source offset on the stack.
|
/// Expects source offset on the stack.
|
||||||
void appendCalldataUnpacker(TypePointers const& _typeParameters,
|
void appendCalldataUnpacker(
|
||||||
|
TypePointers const& _typeParameters,
|
||||||
bool _fromMemory = false,
|
bool _fromMemory = false,
|
||||||
u256 _startOffset = u256(-1));
|
u256 _startOffset = u256(-1)
|
||||||
|
);
|
||||||
void appendReturnValuePacker(TypePointers const& _typeParameters);
|
void appendReturnValuePacker(TypePointers const& _typeParameters);
|
||||||
|
|
||||||
void registerStateVariables(ContractDefinition const& _contract);
|
void registerStateVariables(ContractDefinition const& _contract);
|
||||||
|
Loading…
Reference in New Issue
Block a user