Trait TokenFactory

Source
pub trait TokenFactory<'a, TokenAndSpan, I: Tokens<TokenAndSpan>>: Sized + PartialEq {
    type Lexer: Lexer<'a, TokenAndSpan>;
    type Buffer: Buffer<'a, I = I, Token = Self, TokenAndSpan = TokenAndSpan>;
Show 135 associated constants and 142 methods const FROM: Self; const FOR: Self; const INSTANCEOF: Self; const SATISFIES: Self; const THROW: Self; const AS: Self; const NAMESPACE: Self; const RETURN: Self; const AT: Self; const EXPORT: Self; const DECLARE: Self; const ASSERTS: Self; const ASSERT: Self; const JSX_TAG_END: Self; const JSX_TAG_START: Self; const DOLLAR_LBRACE: Self; const BACKQUOTE: Self; const HASH: Self; const IN: Self; const IS: Self; const CONST: Self; const DOT: Self; const TARGET: Self; const GET: Self; const SET: Self; const DOTDOTDOT: Self; const NULLISH_ASSIGN: Self; const NULLISH_COALESCING: Self; const QUESTION: Self; const COLON: Self; const COMMA: Self; const BIT_AND: Self; const BIT_AND_EQ: Self; const BIT_OR: Self; const BIT_OR_EQ: Self; const LOGICAL_AND: Self; const LOGICAL_AND_EQ: Self; const LOGICAL_OR: Self; const LOGICAL_OR_EQ: Self; const MUL: Self; const MUL_EQ: Self; const MOD: Self; const MOD_EQ: Self; const EXP: Self; const EXP_EQ: Self; const DIV: Self; const DIV_EQ: Self; const EQUAL: Self; const LSHIFT: Self; const LSHIFT_EQ: Self; const LESS: Self; const GLOBAL: Self; const LESS_EQ: Self; const RSHIFT: Self; const RSHIFT_EQ: Self; const GREATER: Self; const GREATER_EQ: Self; const ZERO_FILL_RSHIFT: Self; const ZERO_FILL_RSHIFT_EQ: Self; const NULL: Self; const ANY: Self; const BOOLEAN: Self; const BIGINT: Self; const NEVER: Self; const NUMBER: Self; const OBJECT: Self; const STRING: Self; const SYMBOL: Self; const UNKNOWN: Self; const UNDEFINED: Self; const INTRINSIC: Self; const TRUE: Self; const TRY: Self; const FALSE: Self; const ENUM: Self; const YIELD: Self; const LET: Self; const VAR: Self; const STATIC: Self; const IMPLEMENTS: Self; const INTERFACE: Self; const TYPE: Self; const PACKAGE: Self; const PRIVATE: Self; const PROTECTED: Self; const PUBLIC: Self; const READONLY: Self; const ARROW: Self; const REQUIRE: Self; const AWAIT: Self; const BREAK: Self; const CONTINUE: Self; const THIS: Self; const SUPER: Self; const WHILE: Self; const DO: Self; const LPAREN: Self; const RPAREN: Self; const LBRACKET: Self; const RBRACKET: Self; const LBRACE: Self; const FINALLY: Self; const CATCH: Self; const SWITCH: Self; const RBRACE: Self; const FUNCTION: Self; const IF: Self; const ELSE: Self; const CLASS: Self; const NEW: Self; const ABSTRACT: Self; const ACCESSOR: Self; const IMPORT: Self; const PLUS: Self; const MINUS: Self; const BANG: Self; const TILDE: Self; const PLUS_PLUS: Self; const MINUS_MINUS: Self; const DELETE: Self; const TYPEOF: Self; const VOID: Self; const EXTENDS: Self; const SEMI: Self; const OF: Self; const KEYOF: Self; const UNIQUE: Self; const INFER: Self; const USING: Self; const WITH: Self; const ASYNC: Self; const CASE: Self; const DEFAULT: Self; const DEBUGGER: Self; const EOF: Self; // Required methods fn jsx_name(name: &'a str, lexer: &mut Self::Lexer) -> Self; fn is_jsx_name(&self) -> bool; fn take_jsx_name(self, buffer: &mut Self::Buffer) -> Atom; fn str(value: Atom, raw: Atom, lexer: &mut Self::Lexer) -> Self; fn is_str(&self) -> bool; fn is_str_raw_content(&self, content: &str, buffer: &Self::Buffer) -> bool; fn take_str(self, buffer: &mut Self::Buffer) -> (Atom, Atom); fn template( cooked: LexResult<Atom>, raw: Atom, lexer: &mut Self::Lexer, ) -> Self; fn is_template(&self) -> bool; fn take_template(self, buffer: &mut Self::Buffer) -> (LexResult<Atom>, Atom); fn jsx_text(value: Atom, raw: Atom, lexer: &mut Self::Lexer) -> Self; fn is_jsx_text(&self) -> bool; fn take_jsx_text(self, buffer: &mut Self::Buffer) -> (Atom, Atom); fn regexp(content: Atom, flags: Atom, lexer: &mut Self::Lexer) -> Self; fn is_regexp(&self) -> bool; fn take_regexp(self, buffer: &mut Self::Buffer) -> (Atom, Atom); fn num(value: f64, raw: Atom, lexer: &mut Self::Lexer) -> Self; fn is_num(&self) -> bool; fn take_num(self, buffer: &mut Self::Buffer) -> (f64, Atom); fn bigint(value: Box<BigInt>, raw: Atom, lexer: &mut Self::Lexer) -> Self; fn is_bigint(&self) -> bool; fn take_bigint(self, buffer: &mut Self::Buffer) -> (Box<BigInt>, Atom); fn shebang(value: Atom, lexer: &mut Self::Lexer) -> Self; fn is_shebang(&self) -> bool; fn take_shebang(self, buffer: &mut Self::Buffer) -> Atom; fn unknown_ident(value: Atom, lexer: &mut Self::Lexer) -> Self; fn is_unknown_ident(&self) -> bool; fn take_unknown_ident(self, buffer: &mut Self::Buffer) -> Atom; fn take_unknown_ident_ref<'b>( &'b self, buffer: &'b Self::Buffer, ) -> &'b Atom; fn is_known_ident(&self) -> bool; fn take_known_ident(&self) -> Atom; fn starts_expr(&self) -> bool; fn to_string(&self, buffer: &Self::Buffer) -> String; fn is_error(&self) -> bool; fn take_error(self, buffer: &mut Self::Buffer) -> Error; fn is_word(&self) -> bool; fn take_word(self, buffer: &Self::Buffer) -> Option<Atom>; fn is_keyword(&self) -> bool; fn is_reserved(&self, ctx: Context) -> bool; fn into_atom(self, lexer: &mut Self::Lexer) -> Option<Atom>; fn follows_keyword_let(&self) -> bool; fn is_bin_op(&self) -> bool; fn as_bin_op(&self) -> Option<BinaryOp>; fn is_assign_op(&self) -> bool; fn as_assign_op(&self) -> Option<AssignOp>; fn is_no_substitution_template_literal(&self) -> bool; fn is_template_head(&self) -> bool; // Provided methods fn is_less(&self) -> bool { ... } fn is_less_eq(&self) -> bool { ... } fn is_greater(&self) -> bool { ... } fn is_colon(&self) -> bool { ... } fn is_comma(&self) -> bool { ... } fn is_equal(&self) -> bool { ... } fn is_question(&self) -> bool { ... } fn is_null(&self) -> bool { ... } fn is_lshift(&self) -> bool { ... } fn is_rshift(&self) -> bool { ... } fn is_rshift_eq(&self) -> bool { ... } fn is_greater_eq(&self) -> bool { ... } fn is_true(&self) -> bool { ... } fn is_false(&self) -> bool { ... } fn is_enum(&self) -> bool { ... } fn is_yield(&self) -> bool { ... } fn is_let(&self) -> bool { ... } fn is_var(&self) -> bool { ... } fn is_static(&self) -> bool { ... } fn is_extends(&self) -> bool { ... } fn is_implements(&self) -> bool { ... } fn is_interface(&self) -> bool { ... } fn is_type(&self) -> bool { ... } fn is_package(&self) -> bool { ... } fn is_private(&self) -> bool { ... } fn is_protected(&self) -> bool { ... } fn is_public(&self) -> bool { ... } fn is_readonly(&self) -> bool { ... } fn is_await(&self) -> bool { ... } fn is_break(&self) -> bool { ... } fn is_continue(&self) -> bool { ... } fn is_arrow(&self) -> bool { ... } fn is_this(&self) -> bool { ... } fn is_super(&self) -> bool { ... } fn is_using(&self) -> bool { ... } fn is_backquote(&self) -> bool { ... } fn is_lparen(&self) -> bool { ... } fn is_rparen(&self) -> bool { ... } fn is_lbracket(&self) -> bool { ... } fn is_rbracket(&self) -> bool { ... } fn is_lbrace(&self) -> bool { ... } fn is_rbrace(&self) -> bool { ... } fn is_function(&self) -> bool { ... } fn is_class(&self) -> bool { ... } fn is_if(&self) -> bool { ... } fn is_return(&self) -> bool { ... } fn is_switch(&self) -> bool { ... } fn is_throw(&self) -> bool { ... } fn is_catch(&self) -> bool { ... } fn is_finally(&self) -> bool { ... } fn is_try(&self) -> bool { ... } fn is_with(&self) -> bool { ... } fn is_while(&self) -> bool { ... } fn is_new(&self) -> bool { ... } fn is_ident_ref(&self, ctx: Context) -> bool { ... } fn is_import(&self) -> bool { ... } fn is_export(&self) -> bool { ... } fn is_dot(&self) -> bool { ... } fn is_do(&self) -> bool { ... } fn is_for(&self) -> bool { ... } fn is_from(&self) -> bool { ... } fn is_dotdotdot(&self) -> bool { ... } fn is_plus(&self) -> bool { ... } fn is_minus(&self) -> bool { ... } fn is_bang(&self) -> bool { ... } fn is_tilde(&self) -> bool { ... } fn is_plus_plus(&self) -> bool { ... } fn is_minus_minus(&self) -> bool { ... } fn is_delete(&self) -> bool { ... } fn is_typeof(&self) -> bool { ... } fn is_of(&self) -> bool { ... } fn is_void(&self) -> bool { ... } fn is_hash(&self) -> bool { ... } fn is_in(&self) -> bool { ... } fn is_const(&self) -> bool { ... } fn is_star(&self) -> bool { ... } fn is_mod(&self) -> bool { ... } fn is_semi(&self) -> bool { ... } fn is_slash(&self) -> bool { ... } fn is_slash_eq(&self) -> bool { ... } fn is_jsx_tag_start(&self) -> bool { ... } fn is_jsx_tag_end(&self) -> bool { ... } fn is_asserts(&self) -> bool { ... } fn is_is(&self) -> bool { ... } fn is_as(&self) -> bool { ... } fn is_satisfies(&self) -> bool { ... } fn is_instanceof(&self) -> bool { ... } fn is_async(&self) -> bool { ... } fn is_case(&self) -> bool { ... } fn is_default(&self) -> bool { ... } fn is_debugger(&self) -> bool { ... } fn is_bit_and(&self) -> bool { ... } fn is_bit_or(&self) -> bool { ... } fn is_exp(&self) -> bool { ... } fn is_eof(&self) -> bool { ... }
}

Required Associated Constants§

Source

const FROM: Self

Source

const FOR: Self

Source

const INSTANCEOF: Self

Source

const SATISFIES: Self

Source

const THROW: Self

Source

const AS: Self

Source

const NAMESPACE: Self

Source

const RETURN: Self

Source

const AT: Self

Source

const EXPORT: Self

Source

const DECLARE: Self

Source

const ASSERTS: Self

Source

const ASSERT: Self

Source

const JSX_TAG_END: Self

Source

const JSX_TAG_START: Self

Source

const DOLLAR_LBRACE: Self

Source

const BACKQUOTE: Self

Source

const HASH: Self

Source

const IN: Self

Source

const IS: Self

Source

const CONST: Self

Source

const DOT: Self

Source

const TARGET: Self

Source

const GET: Self

Source

const SET: Self

Source

const DOTDOTDOT: Self

Source

const NULLISH_ASSIGN: Self

Source

const NULLISH_COALESCING: Self

Source

const QUESTION: Self

Source

const COLON: Self

Source

const COMMA: Self

Source

const BIT_AND: Self

Source

const BIT_AND_EQ: Self

Source

const BIT_OR: Self

Source

const BIT_OR_EQ: Self

Source

const LOGICAL_AND: Self

Source

const LOGICAL_AND_EQ: Self

Source

const LOGICAL_OR: Self

Source

const LOGICAL_OR_EQ: Self

Source

const MUL: Self

Source

const MUL_EQ: Self

Source

const MOD: Self

Source

const MOD_EQ: Self

Source

const EXP: Self

Source

const EXP_EQ: Self

Source

const DIV: Self

Source

const DIV_EQ: Self

Source

const EQUAL: Self

Source

const LSHIFT: Self

Source

const LSHIFT_EQ: Self

Source

const LESS: Self

Source

const GLOBAL: Self

Source

const LESS_EQ: Self

Source

const RSHIFT: Self

Source

const RSHIFT_EQ: Self

Source

const GREATER: Self

Source

const GREATER_EQ: Self

Source

const ZERO_FILL_RSHIFT: Self

Source

const ZERO_FILL_RSHIFT_EQ: Self

Source

const NULL: Self

Source

const ANY: Self

Source

const BOOLEAN: Self

Source

const BIGINT: Self

Source

const NEVER: Self

Source

const NUMBER: Self

Source

const OBJECT: Self

Source

const STRING: Self

Source

const SYMBOL: Self

Source

const UNKNOWN: Self

Source

const UNDEFINED: Self

Source

const INTRINSIC: Self

Source

const TRUE: Self

Source

const TRY: Self

Source

const FALSE: Self

Source

const ENUM: Self

Source

const YIELD: Self

Source

const LET: Self

Source

const VAR: Self

Source

const STATIC: Self

Source

const IMPLEMENTS: Self

Source

const INTERFACE: Self

Source

const TYPE: Self

Source

const PACKAGE: Self

Source

const PRIVATE: Self

Source

const PROTECTED: Self

Source

const PUBLIC: Self

Source

const READONLY: Self

Source

const ARROW: Self

Source

const REQUIRE: Self

Source

const AWAIT: Self

Source

const BREAK: Self

Source

const CONTINUE: Self

Source

const THIS: Self

Source

const SUPER: Self

Source

const WHILE: Self

Source

const DO: Self

Source

const LPAREN: Self

Source

const RPAREN: Self

Source

const LBRACKET: Self

Source

const RBRACKET: Self

Source

const LBRACE: Self

Source

const FINALLY: Self

Source

const CATCH: Self

Source

const SWITCH: Self

Source

const RBRACE: Self

Source

const FUNCTION: Self

Source

const IF: Self

Source

const ELSE: Self

Source

const CLASS: Self

Source

const NEW: Self

Source

const ABSTRACT: Self

Source

const ACCESSOR: Self

Source

const IMPORT: Self

Source

const PLUS: Self

Source

const MINUS: Self

Source

const BANG: Self

Source

const TILDE: Self

Source

const PLUS_PLUS: Self

Source

const MINUS_MINUS: Self

Source

const DELETE: Self

Source

const TYPEOF: Self

Source

const VOID: Self

Source

const EXTENDS: Self

Source

const SEMI: Self

Source

const OF: Self

Source

const KEYOF: Self

Source

const UNIQUE: Self

Source

const INFER: Self

Source

const USING: Self

Source

const WITH: Self

Source

const ASYNC: Self

Source

const CASE: Self

Source

const DEFAULT: Self

Source

const DEBUGGER: Self

Source

const EOF: Self

Required Associated Types§

Source

type Lexer: Lexer<'a, TokenAndSpan>

Source

type Buffer: Buffer<'a, I = I, Token = Self, TokenAndSpan = TokenAndSpan>

Required Methods§

Source

fn jsx_name(name: &'a str, lexer: &mut Self::Lexer) -> Self

Source

fn is_jsx_name(&self) -> bool

Source

fn take_jsx_name(self, buffer: &mut Self::Buffer) -> Atom

Source

fn str(value: Atom, raw: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_str(&self) -> bool

Source

fn is_str_raw_content(&self, content: &str, buffer: &Self::Buffer) -> bool

Source

fn take_str(self, buffer: &mut Self::Buffer) -> (Atom, Atom)

Source

fn template(cooked: LexResult<Atom>, raw: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_template(&self) -> bool

Source

fn take_template(self, buffer: &mut Self::Buffer) -> (LexResult<Atom>, Atom)

Source

fn jsx_text(value: Atom, raw: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_jsx_text(&self) -> bool

Source

fn take_jsx_text(self, buffer: &mut Self::Buffer) -> (Atom, Atom)

Source

fn regexp(content: Atom, flags: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_regexp(&self) -> bool

Source

fn take_regexp(self, buffer: &mut Self::Buffer) -> (Atom, Atom)

Source

fn num(value: f64, raw: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_num(&self) -> bool

Source

fn take_num(self, buffer: &mut Self::Buffer) -> (f64, Atom)

Source

fn bigint(value: Box<BigInt>, raw: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_bigint(&self) -> bool

Source

fn take_bigint(self, buffer: &mut Self::Buffer) -> (Box<BigInt>, Atom)

Source

fn shebang(value: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_shebang(&self) -> bool

Source

fn take_shebang(self, buffer: &mut Self::Buffer) -> Atom

Source

fn unknown_ident(value: Atom, lexer: &mut Self::Lexer) -> Self

Source

fn is_unknown_ident(&self) -> bool

Source

fn take_unknown_ident(self, buffer: &mut Self::Buffer) -> Atom

Source

fn take_unknown_ident_ref<'b>(&'b self, buffer: &'b Self::Buffer) -> &'b Atom

Source

fn is_known_ident(&self) -> bool

Source

fn take_known_ident(&self) -> Atom

Source

fn starts_expr(&self) -> bool

Source

fn to_string(&self, buffer: &Self::Buffer) -> String

Source

fn is_error(&self) -> bool

Source

fn take_error(self, buffer: &mut Self::Buffer) -> Error

Source

fn is_word(&self) -> bool

Source

fn take_word(self, buffer: &Self::Buffer) -> Option<Atom>

Source

fn is_keyword(&self) -> bool

Source

fn is_reserved(&self, ctx: Context) -> bool

Source

fn into_atom(self, lexer: &mut Self::Lexer) -> Option<Atom>

Source

fn follows_keyword_let(&self) -> bool

Source

fn is_bin_op(&self) -> bool

Source

fn as_bin_op(&self) -> Option<BinaryOp>

Source

fn is_assign_op(&self) -> bool

Source

fn as_assign_op(&self) -> Option<AssignOp>

Source

fn is_no_substitution_template_literal(&self) -> bool

Source

fn is_template_head(&self) -> bool

Provided Methods§

Source

fn is_less(&self) -> bool

Source

fn is_less_eq(&self) -> bool

Source

fn is_greater(&self) -> bool

Source

fn is_colon(&self) -> bool

Source

fn is_comma(&self) -> bool

Source

fn is_equal(&self) -> bool

Source

fn is_question(&self) -> bool

Source

fn is_null(&self) -> bool

Source

fn is_lshift(&self) -> bool

Source

fn is_rshift(&self) -> bool

Source

fn is_rshift_eq(&self) -> bool

Source

fn is_greater_eq(&self) -> bool

Source

fn is_true(&self) -> bool

Source

fn is_false(&self) -> bool

Source

fn is_enum(&self) -> bool

Source

fn is_yield(&self) -> bool

Source

fn is_let(&self) -> bool

Source

fn is_var(&self) -> bool

Source

fn is_static(&self) -> bool

Source

fn is_extends(&self) -> bool

Source

fn is_implements(&self) -> bool

Source

fn is_interface(&self) -> bool

Source

fn is_type(&self) -> bool

Source

fn is_package(&self) -> bool

Source

fn is_private(&self) -> bool

Source

fn is_protected(&self) -> bool

Source

fn is_public(&self) -> bool

Source

fn is_readonly(&self) -> bool

Source

fn is_await(&self) -> bool

Source

fn is_break(&self) -> bool

Source

fn is_continue(&self) -> bool

Source

fn is_arrow(&self) -> bool

Source

fn is_this(&self) -> bool

Source

fn is_super(&self) -> bool

Source

fn is_using(&self) -> bool

Source

fn is_backquote(&self) -> bool

Source

fn is_lparen(&self) -> bool

Source

fn is_rparen(&self) -> bool

Source

fn is_lbracket(&self) -> bool

Source

fn is_rbracket(&self) -> bool

Source

fn is_lbrace(&self) -> bool

Source

fn is_rbrace(&self) -> bool

Source

fn is_function(&self) -> bool

Source

fn is_class(&self) -> bool

Source

fn is_if(&self) -> bool

Source

fn is_return(&self) -> bool

Source

fn is_switch(&self) -> bool

Source

fn is_throw(&self) -> bool

Source

fn is_catch(&self) -> bool

Source

fn is_finally(&self) -> bool

Source

fn is_try(&self) -> bool

Source

fn is_with(&self) -> bool

Source

fn is_while(&self) -> bool

Source

fn is_new(&self) -> bool

Source

fn is_ident_ref(&self, ctx: Context) -> bool

Source

fn is_import(&self) -> bool

Source

fn is_export(&self) -> bool

Source

fn is_dot(&self) -> bool

Source

fn is_do(&self) -> bool

Source

fn is_for(&self) -> bool

Source

fn is_from(&self) -> bool

Source

fn is_dotdotdot(&self) -> bool

Source

fn is_plus(&self) -> bool

Source

fn is_minus(&self) -> bool

Source

fn is_bang(&self) -> bool

Source

fn is_tilde(&self) -> bool

Source

fn is_plus_plus(&self) -> bool

Source

fn is_minus_minus(&self) -> bool

Source

fn is_delete(&self) -> bool

Source

fn is_typeof(&self) -> bool

Source

fn is_of(&self) -> bool

Source

fn is_void(&self) -> bool

Source

fn is_hash(&self) -> bool

Source

fn is_in(&self) -> bool

Source

fn is_const(&self) -> bool

Source

fn is_star(&self) -> bool

Source

fn is_mod(&self) -> bool

Source

fn is_semi(&self) -> bool

Source

fn is_slash(&self) -> bool

Source

fn is_slash_eq(&self) -> bool

Source

fn is_jsx_tag_start(&self) -> bool

Source

fn is_jsx_tag_end(&self) -> bool

Source

fn is_asserts(&self) -> bool

Source

fn is_is(&self) -> bool

Source

fn is_as(&self) -> bool

Source

fn is_satisfies(&self) -> bool

Source

fn is_instanceof(&self) -> bool

Source

fn is_async(&self) -> bool

Source

fn is_case(&self) -> bool

Source

fn is_default(&self) -> bool

Source

fn is_debugger(&self) -> bool

Source

fn is_bit_and(&self) -> bool

Source

fn is_bit_or(&self) -> bool

Source

fn is_exp(&self) -> bool

Source

fn is_eof(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, I: Tokens<TokenAndSpan>> TokenFactory<'a, TokenAndSpan, I> for Token

Source§

const ABSTRACT: Self

Source§

const ACCESSOR: Self

Source§

const ANY: Self

Source§

const ARROW: Self = Self::Arrow

Source§

const AS: Self

Source§

const ASSERT: Self

Source§

const ASSERTS: Self

Source§

const ASYNC: Self

Source§

const AT: Self = Self::At

Source§

const AWAIT: Self

Source§

const BACKQUOTE: Self = Self::BackQuote

Source§

const BANG: Self = Self::Bang

Source§

const BIGINT: Self

Source§

const BIT_AND: Self

Source§

const BIT_AND_EQ: Self

Source§

const BIT_OR: Self

Source§

const BIT_OR_EQ: Self

Source§

const BOOLEAN: Self

Source§

const BREAK: Self

Source§

const CASE: Self

Source§

const CATCH: Self

Source§

const CLASS: Self

Source§

const COLON: Self = Self::Colon

Source§

const COMMA: Self = Self::Comma

Source§

const CONST: Self

Source§

const CONTINUE: Self

Source§

const DEBUGGER: Self

Source§

const DECLARE: Self

Source§

const DEFAULT: Self

Source§

const DELETE: Self

Source§

const DIV: Self

Source§

const DIV_EQ: Self

Source§

const DO: Self

Source§

const DOLLAR_LBRACE: Self = Self::DollarLBrace

Source§

const DOT: Self = Self::Dot

Source§

const DOTDOTDOT: Self = Self::DotDotDot

Source§

const ELSE: Self

Source§

const ENUM: Self

Source§

const EOF: Self = Token::Eof

Source§

const EQUAL: Self

Source§

const EXP: Self

Source§

const EXPORT: Self

Source§

const EXP_EQ: Self

Source§

const EXTENDS: Self

Source§

const FALSE: Self

Source§

const FINALLY: Self

Source§

const FOR: Self

Source§

const FROM: Self

Source§

const FUNCTION: Self

Source§

const GET: Self

Source§

const GLOBAL: Self

Source§

const GREATER: Self

Source§

const GREATER_EQ: Self

Source§

const HASH: Self = Self::Hash

Source§

const IF: Self

Source§

const IMPLEMENTS: Self

Source§

const IMPORT: Self

Source§

const IN: Self

Source§

const INFER: Self

Source§

const INSTANCEOF: Self

Source§

const INTERFACE: Self

Source§

const INTRINSIC: Self

Source§

const IS: Self

Source§

const JSX_TAG_END: Self = Self::JSXTagEnd

Source§

const JSX_TAG_START: Self = Self::JSXTagStart

Source§

const KEYOF: Self

Source§

const LBRACE: Self = Self::LBrace

Source§

const LBRACKET: Self = Self::LBracket

Source§

const LESS: Self

Source§

const LESS_EQ: Self

Source§

const LET: Self

Source§

const LOGICAL_AND: Self

Source§

const LOGICAL_AND_EQ: Self

Source§

const LOGICAL_OR: Self

Source§

const LOGICAL_OR_EQ: Self

Source§

const LPAREN: Self = Self::LParen

Source§

const LSHIFT: Self

Source§

const LSHIFT_EQ: Self

Source§

const MINUS: Self

Source§

const MINUS_MINUS: Self = Self::MinusMinus

Source§

const MOD: Self

Source§

const MOD_EQ: Self

Source§

const MUL: Self

Source§

const MUL_EQ: Self

Source§

const NAMESPACE: Self

Source§

const NEVER: Self

Source§

const NEW: Self

Source§

const NULL: Self

Source§

const NULLISH_ASSIGN: Self

Source§

const NULLISH_COALESCING: Self

Source§

const NUMBER: Self

Source§

const OBJECT: Self

Source§

const OF: Self

Source§

const PACKAGE: Self

Source§

const PLUS: Self

Source§

const PLUS_PLUS: Self = Self::PlusPlus

Source§

const PRIVATE: Self

Source§

const PROTECTED: Self

Source§

const PUBLIC: Self

Source§

const QUESTION: Self = Token::QuestionMark

Source§

const RBRACE: Self = Self::RBrace

Source§

const RBRACKET: Self = Self::RBracket

Source§

const READONLY: Self

Source§

const REQUIRE: Self

Source§

const RETURN: Self

Source§

const RPAREN: Self = Self::RParen

Source§

const RSHIFT: Self

Source§

const RSHIFT_EQ: Self

Source§

const SATISFIES: Self

Source§

const SEMI: Self = Self::Semi

Source§

const SET: Self

Source§

const STATIC: Self

Source§

const STRING: Self

Source§

const SUPER: Self

Source§

const SWITCH: Self

Source§

const SYMBOL: Self

Source§

const TARGET: Self

Source§

const THIS: Self

Source§

const THROW: Self

Source§

const TILDE: Self = Self::Tilde

Source§

const TRUE: Self

Source§

const TRY: Self

Source§

const TYPE: Self

Source§

const TYPEOF: Self

Source§

const UNDEFINED: Self

Source§

const UNIQUE: Self

Source§

const UNKNOWN: Self

Source§

const USING: Self

Source§

const VAR: Self

Source§

const VOID: Self

Source§

const WHILE: Self

Source§

const WITH: Self

Source§

const YIELD: Self

Source§

const ZERO_FILL_RSHIFT: Self

Source§

const ZERO_FILL_RSHIFT_EQ: Self

Source§

type Buffer = Buffer<I>

Source§

type Lexer = Lexer<'a>