Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argotorg/solidity
/ toInt
Function
toInt
libyul/AsmParser.cpp:49–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
{
48
49
std::optional<int> toInt(std::string const& _value)
50
{
51
try
52
{
53
return stoi(_value);
54
}
55
catch (std::out_of_range const&)
56
{
57
return std::nullopt;
58
}
59
}
60
61
}
62
Callers
2
parseSrcComment
Method · 0.85
parseASTIDComment
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected