diff options
author | Christian <c@ethdev.com> | 2014-10-13 21:07:21 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-13 23:02:21 +0800 |
commit | 4f791179640fdcfbbd62c4c7a2a5273081b7b742 (patch) | |
tree | 7c7576b991884befde24473b5f6370b8afa83b2f /Parser.h | |
parent | 98bdd7429974521946a1aa3bffa038fc515f745c (diff) | |
download | dexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.tar.gz dexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.tar.zst dexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.zip |
Name resolution.
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ class Scanner; class Parser { public: - ptr<ASTNode> parse(std::shared_ptr<Scanner> const& _scanner); + ptr<ContractDefinition> parse(std::shared_ptr<Scanner> const& _scanner); private: class ASTNodeFactory; @@ -50,7 +50,7 @@ private: ptr<VariableDeclaration> parseVariableDeclaration(); ptr<TypeName> parseTypeName(); ptr<Mapping> parseMapping(); - ptr<ParameterList> parseParameterList(); + ptr<ParameterList> parseParameterList(bool _permitEmpty = true); ptr<Block> parseBlock(); ptr<Statement> parseStatement(); ptr<IfStatement> parseIfStatement(); |