aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-03 14:46:55 +0800
committerChristian <c@ethdev.com>2014-12-03 17:44:46 +0800
commit328387d6d0a14143f1634df11036a91fad85cec9 (patch)
tree0c790402332a3fdc4fc8beddd57929db148b8c36 /Parser.h
parent9dadeea37710fe23a7512035b69356f3405ee6f1 (diff)
downloaddexon-solidity-328387d6d0a14143f1634df11036a91fad85cec9.tar.gz
dexon-solidity-328387d6d0a14143f1634df11036a91fad85cec9.tar.zst
dexon-solidity-328387d6d0a14143f1634df11036a91fad85cec9.zip
Import directive.
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser.h b/Parser.h
index 307a0d6a..98a337b2 100644
--- a/Parser.h
+++ b/Parser.h
@@ -34,7 +34,7 @@ class Scanner;
class Parser
{
public:
- ASTPointer<ContractDefinition> parse(std::shared_ptr<Scanner> const& _scanner);
+ ASTPointer<SourceUnit> parse(std::shared_ptr<Scanner> const& _scanner);
private:
class ASTNodeFactory;
@@ -46,6 +46,7 @@ private:
///@{
///@name Parsing functions for the AST nodes
+ ASTPointer<ImportDirective> parseImportDirective();
ASTPointer<ContractDefinition> parseContractDefinition();
ASTPointer<FunctionDefinition> parseFunctionDefinition(bool _isPublic);
ASTPointer<StructDefinition> parseStructDefinition();