diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-25 05:55:29 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-27 03:44:34 +0800 |
commit | 2fefe3b5497172a16094014b66e148b707bc7492 (patch) | |
tree | c59e2979a0e8809e22eebf5f85e991d214ac8222 /libsolidity/parsing/Parser.h | |
parent | 788b64ea6181af6e7e364e86d64508c4809ca9b7 (diff) | |
download | dexon-solidity-2fefe3b5497172a16094014b66e148b707bc7492.tar.gz dexon-solidity-2fefe3b5497172a16094014b66e148b707bc7492.tar.zst dexon-solidity-2fefe3b5497172a16094014b66e148b707bc7492.zip |
Move Solidity specific methods from ParserBase to the Solidity Parser
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r-- | libsolidity/parsing/Parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 282617ab..05e99566 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -154,6 +154,10 @@ private: std::vector<ASTPointer<PrimaryExpression>> const& _path, std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices ); + + Token::Value expectAssignmentOperator(); + ASTPointer<ASTString> expectIdentifierToken(); + ASTPointer<ASTString> getLiteralAndAdvance(); ///@} /// Creates an empty ParameterList at the current location (used if parameters can be omitted). |