/** * @sfeel —— S-FEEL 子集(OS 03 定义域)的解析与求值,纯函数(编码规范 §8.3)。 * * 被 `process`(边条件 / 失败走向)、`flow-engine`(条件谓词)、`trigger`(判定)、 * `loop-engine`(前提 ifPart / DMN 单元格)与前端 `gov-process`(画布即时校验预览)共用 —— * **求值语义一份代码,前后端同源**;后端裁决为权威。 * * 子集封顶(ADR-006:自研,不引第三方 FEEL 引擎): * 比较 · 逻辑 · 算术 · 区间 · 列表与 in · 封闭的内建函数集(字符串 / 数字 / 日期)。 * **无外部调用,静态可检。** */ export type { Node, UnaryTest } from './ast.ts'; export type { Token, TokenKind } from './lexer.ts'; export { SfeelSyntaxError, tokenize } from './lexer.ts'; export { parse, parseUnaryTest } from './parser.ts'; export type { Scope } from './evaluate.ts'; export { BUILTIN_FUNCTIONS, evaluate, evaluateCondition, evaluateNode, evaluateUnaryTest, SfeelEvalError, testMatches, truthy, } from './evaluate.ts'; export type { StaticCheckResult, StaticIssue } from './static-check.ts'; export { staticCheck } from './static-check.ts'; export declare const SFEEL_VERSION = "0.1.0-m3";