Struct rslint_parser::Syntax [−][src]
pub struct Syntax {
pub file_kind: FileKind,
pub top_level_await: bool,
pub global_return: bool,
pub class_fields: bool,
pub decorators: bool,
}
Expand description
A structure describing the syntax features the parser will accept. The default is an ECMAScript 2021 Script without any proposals.
Fields
file_kind: FileKind
top_level_await: bool
global_return: bool
class_fields: bool
decorators: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Syntax
impl UnwindSafe for Syntax
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more