Skip to main content

Module engine

Module engine 

Source
Expand description

Pure-Rust JavaScript Execution Engine, AST Parser, and W3C DOM Bindings.

Re-exports§

pub use ast::*;
pub use dom::*;
pub use parser::*;
pub use scope::*;

Modules§

ast
Abstract Syntax Tree (AST) definitions for JavaScript parsing and evaluation.
dom
W3C DOM Tree representation, client-side mutations, and HTML5 fragment serialization.
eval
JavaScript Statement, Expression, and Function Evaluator.
parser
Recursive-descent JavaScript Parser.
scope
Lexical scope environment frame, closure descriptors, and parameter binding.

Structs§

GeneratorInstance
JsEngine

Constants§

MAX_EVAL_DEPTH
Maximum AST expression evaluation recursion depth before returning RangeError (CWE-674).

Functions§

civil_from_days
date_to_ms
days_from_civil
ms_to_date

Type Aliases§

WeakObjectMap