structstd.zig.ZonGen.Options[src]

Fields

parse_str_lits: bool = true

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.

Source Code

Source code
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,
}