mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add hasHexPrefix() to AST::Literal
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user