[−][src]Enum javascript_lexer::token::Token
Token that is results of consuming characters
Variants
And
&
AndAssign
&=
Assign
=
AssignBigger
=>
Bigger
>
BiggerEqual
>=
BoolLiteral(bool)
True / False
Caret
^
CaretAssign
^=
Colon
:
Comma
,
Semicolon
;
Slash
/
SlashAssign
/=
Dot
.
DoubleAnd
&&
DoubleAssign
==
DoubleBigger
\>>
DoubleBiggerEqual
\>>=
DoubleLesser
<<
DoubleLesserEqual
<<=
DoubleMinus
--
DoubleOr
||
DoublePlus
++
DoubleStar
**
DoubleStarAssign
**=
EOF
End of line
Regex(String)
/{this}/
Exclamation
!
ExclamationAssign
!=
ExclamationDoubleAssign
!==
IdentifierName(IStr)
a, name, (not keyword or reserved word)
KAs
as
KAsync
async
KAwait
await
KBreak
break
KCase
case
KCatch
catch
KClass
class
KConst
const
KContinue
continue
KDebugger
debugger
KDefault
default
KDelete
delete
KDo
do
KElse
else
KExtend
extend
KFinally
finallly
KFor
for
KFrom
from
KFunction
function
KGet
get
KIf
if
KIn
in
KImport
import
KLet
let
KNew
new
KOf
of
KReturn
return
KSet
set
KStatic
static
KSwitch
switch
KThis
this
KThrow
throw
KTry
try
KTypeof
typeof
KVar
var
KVoid
void
KWhile
while
KWith
with
LCurly
{
LessEqual
<=
Lesser
<<
LineTerminator
\n
LNull
null
LUndefined
undefined
LRound
(
LSquare
[
Minus
-
MinusAssign
-=
NumericLiteral(Number)
0 0.5 1e2 2.3e2
Or
|
OrAssign
|=
Percent
%
PercentAssign
%=
Plus
+
PlusAssign
+=
QuestionMark
?
RCurly
}
RRound
)
RSquare
]
Star
*
StarAssign
*=
StringLiteral(String)
"adad" 'adada'
Template(String)
ada{var}
Tilde
~
TripleAssign
===
TripleBigger
>>>
TripleBiggerEqual
>>>=
TripleDot
...
Trait Implementations
impl PartialEq<Token> for Token
[src]
impl Clone for Token
[src]
fn clone(&self) -> Token
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Token
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,