Function parse_position_comments

Source
pub fn parse_position_comments(
    parser: &mut Parser,
    language: &Language,
    source: &[u8],
) -> Result<Vec<Assertion>>
Expand description

Parse the given source code, finding all of the comments that contain highlighting assertions. Return a vector of (position, expected highlight name) pairs.