Add hasHexPrefix() to AST::Literal

This commit is contained in:
Alex Beregszaszi
2017-06-28 16:57:32 +01:00
parent 79d1336687
commit 8b0c866f02
3 changed files with 16 additions and 7 deletions
+3
View File
@@ -1590,6 +1590,9 @@ public:
SubDenomination subDenomination() const { return m_subDenomination; }
/// @returns true if this is a number with a hex prefix.
bool hasHexPrefix() const;
/// @returns true if this looks like a checksummed address.
bool looksLikeAddress() const;
/// @returns true if it passes the address checksum test.