Module ress::tokens[][src]

Modules

prelude

Structs

Comment

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

Ident

An identifier

InnerString
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

CommentKind

The 4 kinds of comments

Keyword

A JS Keyword

NumberKind

The 5 kinds of numbers

Punct

All available punctuation

StringLit

A single or double quoted string literal

Template

A template string

Token

The representation of any single JS part