-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.ts
More file actions
44 lines (43 loc) · 1004 Bytes
/
Copy pathmod.ts
File metadata and controls
44 lines (43 loc) · 1004 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Parse and evaluate application-defined filters, conditions, and formulas.
*
* Expressions are parsed into a typed AST and interpreted against an explicit
* environment.
*
* @module
*/
export type { BinaryOp, Expr, NodeBase, Span, UnaryOp } from "./src/ast/mod.ts";
export {
formatCaret,
type FormatCaretOptions,
formatDiagnosticCaret,
type FormatDiagnosticCaretSource,
formatDiagnosticReport,
type FormatDiagnosticReportSource,
type FormatReportOptions,
formatSpanCaret,
} from "./src/diagnostics.ts";
export {
ExpParseError,
type ParseError,
parseExpression,
type ParseOptions,
type ParseResult,
} from "./src/parse.ts";
export {
type EvalError,
type EvalOptions,
type EvalResult,
evaluateAst,
evaluateExpression,
type EvaluateExpressionOptions,
ExpEvalError,
} from "./src/eval.ts";
export type {
RuntimeArray,
RuntimeFunction,
RuntimeObject,
RuntimePrimitive,
RuntimeValue,
} from "./src/runtime.ts";
export { std } from "./src/std.ts";