Struct ezno_parser::ParseOptions 
source · pub struct ParseOptions {
    pub jsx: bool,
    pub special_jsx_attributes: bool,
    pub decorators: bool,
    pub generator_keyword: bool,
    pub include_comments: bool,
    pub is_expressions: bool,
    pub server_blocks: bool,
    pub module_blocks: bool,
    pub slots: bool,
}Expand description
Settings to customize parsing
Fields§
§jsx: boolParsing of JSX (includes some additions)
special_jsx_attributes: bool§decorators: bool§generator_keyword: bool§include_comments: bool§is_expressions: bool§server_blocks: bool§module_blocks: bool§slots: boolFor LSP allows incomplete AST for completions. TODO tidy up
Trait Implementations§
source§impl Clone for ParseOptions
 
impl Clone for ParseOptions
source§fn clone(&self) -> ParseOptions
 
fn clone(&self) -> ParseOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Default for ParseOptions
 
impl Default for ParseOptions
impl Copy for ParseOptions
Auto Trait Implementations§
impl RefUnwindSafe for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Unpin for ParseOptions
impl UnwindSafe for ParseOptions
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