MCPcopy Create free account
hub / github.com/argotorg/solidity / isHexNumber

Method isHexNumber

libsolidity/ast/AST.cpp:1031–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029}
1030
1031bool Literal::isHexNumber() const
1032{
1033 if (token() != Token::Number)
1034 return false;
1035 return boost::starts_with(value(), "0x");
1036}
1037
1038bool Literal::looksLikeAddress() const
1039{

Callers 3

endVisitMethod · 0.80
visitMethod · 0.80
rationalNumberMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected