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

Function firstNonIdentifier

libsolidity/parsing/DocStringParser.cpp:46–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46std::string::const_iterator firstNonIdentifier(
47 std::string::const_iterator _pos,
48 std::string::const_iterator _end
49)
50{
51 auto currPos = _pos;
52 if (currPos == _pos && isIdentifierStart(*currPos))
53 {
54 currPos++;
55 currPos = ranges::find_if_not(ranges::make_subrange(currPos, _end), isIdentifierPart);
56 }
57 return currPos;
58}
59
60std::string::const_iterator firstWhitespaceOrNewline(
61 std::string::const_iterator _pos,

Callers 1

parseDocTagParamMethod · 0.85

Calls 1

isIdentifierStartFunction · 0.85

Tested by

no test coverage detected