diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-27 04:02:24 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-27 04:40:14 +0800 |
commit | 751c97ca19ed0bb69e67222a1edd61e7d227b30f (patch) | |
tree | f3251f62b6baddea299432becef1a6660f3eb2df /libsolidity/parsing/Parser.h | |
parent | 48f58aa3f9b4d8962b2c6f1bd7967b119893a889 (diff) | |
download | dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar.gz dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar.bz2 dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar.lz dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar.xz dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.tar.zst dexon-solidity-751c97ca19ed0bb69e67222a1edd61e7d227b30f.zip |
Pull out common code to a helper
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r-- | libsolidity/parsing/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 05e99566..5ec3dbed 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -155,6 +155,7 @@ private: std::vector<std::pair<ASTPointer<Expression>, SourceLocation>> const& _indices ); + std::string currentTokenName(); Token::Value expectAssignmentOperator(); ASTPointer<ASTString> expectIdentifierToken(); ASTPointer<ASTString> getLiteralAndAdvance(); |