aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.h
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-27 18:29:03 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-18 20:29:01 +0800
commit182a0a95516e4f218524b929035e6a1bd5d2742c (patch)
treebcf6743a43070346a5193f1a4d9d12c3b5bd092c /libsolidity/parsing/Parser.h
parentb909df4573130e020c7f4dfb61c0571ba1bc02ab (diff)
downloaddexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.gz
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.bz2
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.lz
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.xz
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.zst
dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.zip
Disallows old constructor syntax.
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r--libsolidity/parsing/Parser.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h
index 08653364..c906771a 100644
--- a/libsolidity/parsing/Parser.h
+++ b/libsolidity/parsing/Parser.h
@@ -74,12 +74,8 @@ private:
ASTPointer<InheritanceSpecifier> parseInheritanceSpecifier();
Declaration::Visibility parseVisibilitySpecifier(Token::Value _token);
StateMutability parseStateMutability(Token::Value _token);
- FunctionHeaderParserResult parseFunctionHeader(
- bool _forceEmptyName,
- bool _allowModifiers,
- ASTString const* _contractName = nullptr
- );
- ASTPointer<ASTNode> parseFunctionDefinitionOrFunctionTypeStateVariable(ASTString const* _contractName);
+ FunctionHeaderParserResult parseFunctionHeader(bool _forceEmptyName, bool _allowModifiers);
+ ASTPointer<ASTNode> parseFunctionDefinitionOrFunctionTypeStateVariable();
ASTPointer<FunctionDefinition> parseFunctionDefinition(ASTString const* _contractName);
ASTPointer<StructDefinition> parseStructDefinition();
ASTPointer<EnumDefinition> parseEnumDefinition();