struct Options [src]

Fields

parse_str_lits: bool = trueWhen false, string literals are not parsed. string_literal nodes will contain empty strings, and errors that normally occur during string parsing will not be raised. parseStrLit and strLitSizeHint may be used to parse string literals after the fact.

Source

pub const Options = struct { /// When false, string literals are not parsed. `string_literal` nodes will contain empty /// strings, and errors that normally occur during string parsing will not be raised. /// /// `parseStrLit` and `strLitSizeHint` may be used to parse string literals after the fact. parse_str_lits: bool = true, }