Struct ezno_parser::ParseSettings
source · pub struct ParseSettings {
pub jsx: bool,
pub decorators: bool,
pub generator_keyword: bool,
pub server_blocks: bool,
pub module_blocks: bool,
pub slots: bool,
}
Expand description
Settings to customize parsing
Fields§
§jsx: bool
Parsing of JSX (includes some additions)
decorators: bool
§generator_keyword: bool
§server_blocks: bool
§module_blocks: bool
§slots: bool
For LSP allows incomplete AST for completions. TODO tidy up
Trait Implementations§
source§impl Clone for ParseSettings
impl Clone for ParseSettings
source§fn clone(&self) -> ParseSettings
fn clone(&self) -> ParseSettings
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 more