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

Method parseDocTagLine

libsolidity/parsing/DocStringParser.cpp:121–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121DocStringParser::iter DocStringParser::parseDocTagLine(iter _pos, iter _end, bool _appending)
122{
123 solAssert(!!m_lastTag, "");
124 auto nlPos = find(_pos, _end, '\n');
125 if (_appending && _pos != _end && *_pos != ' ' && *_pos != '\t')
126 m_lastTag->content += " ";
127 else if (!_appending)
128 _pos = skipWhitespace(_pos, _end);
129 copy(_pos, nlPos, back_inserter(m_lastTag->content));
130 return skipLineOrEOS(nlPos, _end);
131}
132
133DocStringParser::iter DocStringParser::parseDocTagParam(iter _pos, iter _end)
134{

Callers

nothing calls this directly

Calls 2

skipWhitespaceFunction · 0.85
skipLineOrEOSFunction · 0.85

Tested by

no test coverage detected