summaryrefslogtreecommitdiffstats
path: root/third_party/rust/jsparagus-generated-parser/src/lib.rs
blob: d7e148bc82b978908ce110556f4a30fe8e2e31c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//! Generated parts of a JS parser.

mod ast_builder;
mod context_stack;
mod declaration_kind;
mod early_error_checker;
mod early_errors;
mod error;
mod parser_tables_generated;
mod stack_value_generated;
mod token;
pub mod traits;

extern crate jsparagus_ast as ast;
extern crate static_assertions;

pub use ast_builder::{AstBuilder, AstBuilderDelegate};
pub use declaration_kind::DeclarationKind;
pub use error::{ParseError, Result};
pub use parser_tables_generated::{
    full_actions, noop_actions, ErrorCode, NonterminalId, ParseTable, Term, TerminalId,
    START_STATE_MODULE, START_STATE_SCRIPT, TABLES,
};
pub use stack_value_generated::StackValue;
pub use token::{Token, TokenValue};
pub use traits::{ParserTrait, TermValue};