diff options
author | Christian <c@ethdev.com> | 2015-02-03 00:24:09 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-02-03 00:24:09 +0800 |
commit | e157364fe8d52d36dd5b6bbf15355da33fcbcc19 (patch) | |
tree | 70bcbe71f2738bd6e41541fb8d7920f6c09c9717 /Parser.h | |
parent | adce36ff583389819638218e2a11c0887b35282c (diff) | |
download | dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar.gz dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar.bz2 dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar.lz dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar.xz dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.tar.zst dexon-solidity-e157364fe8d52d36dd5b6bbf15355da33fcbcc19.zip |
Visibility specifiers.
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,6 @@ private: struct VarDeclParserOptions { VarDeclParserOptions() {} bool allowVar = false; - bool isPublic = false; bool isStateVariable = false; bool allowIndexed = false; }; @@ -58,7 +57,8 @@ private: ASTPointer<ImportDirective> parseImportDirective(); ASTPointer<ContractDefinition> parseContractDefinition(); ASTPointer<InheritanceSpecifier> parseInheritanceSpecifier(); - ASTPointer<FunctionDefinition> parseFunctionDefinition(bool _isPublic, ASTString const* _contractName); + Declaration::Visibility parseVisibilitySpecifier(Token::Value _token); + ASTPointer<FunctionDefinition> parseFunctionDefinition(ASTString const* _contractName); ASTPointer<StructDefinition> parseStructDefinition(); ASTPointer<VariableDeclaration> parseVariableDeclaration(VarDeclParserOptions const& _options = VarDeclParserOptions()); ASTPointer<ModifierDefinition> parseModifierDefinition(); |