Struct bracket::parser::ParserOptions [−][src]
Expand description
Set the file name used in error messages.
It is also possible to set the line and byte offsets if your template is being extracted from a larger document.
Fields
file_name: String
The name of a file for the template source being parsed.
line_offset: usize
A line offset into the file for error reporting, the first line has index zero.
byte_offset: usize
Byte offset into the source file.