aboutsummaryrefslogtreecommitdiffstats
path: root/Token.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-12 19:46:52 +0800
committerChristian <c@ethdev.com>2015-01-12 19:46:52 +0800
commit307a83e1dea95cd144a955aa0891476e7dd159de (patch)
tree5adca427a0debe24ba729bd3cd917c821c92ebca /Token.h
parent94cff9684f8b1d4a5e2eeba58444a99e32e8a7ae (diff)
downloaddexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar.gz
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar.bz2
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar.lz
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar.xz
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.tar.zst
dexon-solidity-307a83e1dea95cd144a955aa0891476e7dd159de.zip
More convenient function type construction.
Diffstat (limited to 'Token.h')
-rw-r--r--Token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Token.h b/Token.h
index f2ffd076..2d4441d0 100644
--- a/Token.h
+++ b/Token.h
@@ -386,6 +386,8 @@ public:
return m_precedence[tok];
}
+ static Token::Value fromIdentifierOrKeyword(std::string const& _name);
+
private:
static char const* const m_name[NUM_TOKENS];
static char const* const m_string[NUM_TOKENS];