Skip to main content

## line_directive

# Function line_directive

Source

    pub(crate) fn line_directive<'a>(
        file_path: &'a Utf8Path,
        line_number: LineNumber,
        original_line: &'a str,
    ) -> Option<DirectiveLine<'a>>

Expand description

If the given line begins with the appropriate comment prefix for a directive, returns a struct containing various parts of the directive.