Struct html5ever::tokenizer::TokenizerOpts
[−]
[src]
pub struct TokenizerOpts { pub exact_errors: bool, pub discard_bom: bool, pub profile: bool, pub initial_state: Option<State>, pub last_start_tag_name: Option<String>, }
Tokenizer options, with an impl for Default
.
Fields
exact_errors | Report all parse errors described in the spec, at some performance penalty? Default: false |
discard_bom | Discard a |
profile | Keep a record of how long we spent in each state? Printed
when |
initial_state | Initial state override. Only the test runner should use
a non- |
last_start_tag_name | Last start tag. Only the test runner should use a
non- FIXME: Can't use Tendril because we want TokenizerOpts to be Send. |