aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-03 00:24:09 +0800
committerChristian <c@ethdev.com>2015-02-03 00:24:09 +0800
commite157364fe8d52d36dd5b6bbf15355da33fcbcc19 (patch)
tree70bcbe71f2738bd6e41541fb8d7920f6c09c9717 /Parser.h
parentadce36ff583389819638218e2a11c0887b35282c (diff)
downloaddexon-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser.h b/Parser.h
index 413a2711..388fd7a9 100644
--- a/Parser.h
+++ b/Parser.h
@@ -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();