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

Method translateLineColumnToPosition

liblangutil/CharStream.cpp:147–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147std::optional<int> CharStream::translateLineColumnToPosition(LineColumn const& _lineColumn) const
148{
149 return translateLineColumnToPosition(m_source, _lineColumn);
150}
151
152std::optional<int> CharStream::translateLineColumnToPosition(std::string const& _text, LineColumn const& _input)
153{

Callers 3

toPositionFunction · 0.80
operator()Method · 0.80

Calls 2

findMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected