[][src]Module rslint_parser::syntax

The Js syntax itself and parser functions.

The actual parsing is done in these modules. Every single function is public, this is to allow people to use the parser for their specific needs, for example, parsing only an expression.

Functions emit markers, see CompletedMarker and Marker docs for more info.

Modules

decl

Class and function declarations.

expr

Expressions, these include this, identifiers, arrays, objects, binary expressions, unary expressions, and more.

pat
program

Top level functions for parsing a script or module, also includes module specific items.

stmt

Statements, these include if, while, for, ;, and more.

util

General utility functions for parsing and error checking.