Crate ress[][src]

js_parse A crate for parsing raw JS into a token stream

Modules

error

Structs

Comment
Ident

An identifier

Item

A wrapper around a token that will include the byte span of the text that it was found at

Number
RegEx
Scanner

An iterator over a js token stream

ScannerState
Span

A location in the original source text

Enums

Boolean

The tokenized representation of true or false

Keyword

A JS Keyword

Punct
StringLit
Template
Token

The representation of a single JS token

Functions

tokenize

a convince function for collecting a scanner into a Vec<Token>