Module ress::tokens::prelude[][src]

Re-exports

pub use super::Punct;
pub use super::Token;

Structs

Comment

A comment, effectively should be treated as white space. There are 3 kinds of comments according to the specification.

Ident

An identifier

Number

A JS number literal. There are 4 kinds of number literals allowed in JS.

RegEx

A Regular Expression Literal

TemplateLiteral

Enums

Boolean

The tokenized representation of true or false

Keyword

A JS Keyword

StringLit

A single or double quoted string literal

Template

A template string