Struct ezno_parser::LexerOptions
source · pub struct LexerOptions {
pub include_comments: bool,
pub lex_jsx: bool,
pub allow_unsupported_characters_in_jsx_attribute_keys: bool,
}Fields§
§include_comments: boolWhether to append tokens when lexing. If false will just ignore
lex_jsx: boolWhether to parse JSX. TypeScripts <number> 2 breaks the lexer so this can be disabled to allow
for that syntax
allow_unsupported_characters_in_jsx_attribute_keys: boolTODO temp
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LexerOptions
impl Send for LexerOptions
impl Sync for LexerOptions
impl Unpin for LexerOptions
impl UnwindSafe for LexerOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more