LibParseInterstitial
Functions
skipComment
The cursor currently points at the head of a comment. We need to skip
over all data until we find the end of the comment. This MAY REVERT if
the comment is malformed, e.g. if the comment doesn't start with /*
.
function skipComment(ParseState memory state, uint256 cursor, uint256 end) internal pure returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
state | ParseState | The parser state. |
cursor | uint256 | The current cursor position. |
end | uint256 |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | The new cursor position. |
skipWhitespace
function skipWhitespace(ParseState memory state, uint256 cursor, uint256 end) internal pure returns (uint256);
parseInterstitial
function parseInterstitial(ParseState memory state, uint256 cursor, uint256 end) internal pure returns (uint256);