aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-13 21:07:21 +0800
committerChristian <c@ethdev.com>2014-10-13 23:02:21 +0800
commit4f791179640fdcfbbd62c4c7a2a5273081b7b742 (patch)
tree7c7576b991884befde24473b5f6370b8afa83b2f /Parser.h
parent98bdd7429974521946a1aa3bffa038fc515f745c (diff)
downloaddexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.tar.gz
dexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.tar.zst
dexon-solidity-4f791179640fdcfbbd62c4c7a2a5273081b7b742.zip
Name resolution.
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 f8940d1a..88369052 100644
--- a/Parser.h
+++ b/Parser.h
@@ -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();