aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-15 19:40:29 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-18 01:06:52 +0800
commitf8da9a8fd5e2c709aa940402155faa30139ec9e1 (patch)
tree43e8e9501f409d6eb58fc1faae8fe29d000b0570 /libsolidity/parsing/Parser.h
parent3f1468142badd2717596a4cd78f6f347b78010d7 (diff)
downloaddexon-solidity-f8da9a8fd5e2c709aa940402155faa30139ec9e1.tar.gz
dexon-solidity-f8da9a8fd5e2c709aa940402155faa30139ec9e1.tar.zst
dexon-solidity-f8da9a8fd5e2c709aa940402155faa30139ec9e1.zip
Factor out tokenToContractKind
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r--libsolidity/parsing/Parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h
index bf972c65..282617ab 100644
--- a/libsolidity/parsing/Parser.h
+++ b/libsolidity/parsing/Parser.h
@@ -69,6 +69,7 @@ private:
///@name Parsing functions for the AST nodes
ASTPointer<PragmaDirective> parsePragmaDirective();
ASTPointer<ImportDirective> parseImportDirective();
+ ContractDefinition::ContractKind tokenToContractKind(Token::Value _token);
ASTPointer<ContractDefinition> parseContractDefinition(Token::Value _expectedKind);
ASTPointer<InheritanceSpecifier> parseInheritanceSpecifier();
Declaration::Visibility parseVisibilitySpecifier(Token::Value _token);