expression-language.js
Version:
An engine for javascript that can compile and evaluate expressions written in typescript
12 lines • 450 B
TypeScript
import { Expr } from "../node";
import { Runtime } from "../../runtime";
import Position from "../../position";
declare type Literal = boolean | null | number | string;
declare class LiteralExpression extends Expr {
private readonly value;
private readonly raw;
constructor(value: Literal, raw: string, position: Position);
evaluate(runtime: Runtime): Literal;
}
export default LiteralExpression;
//# sourceMappingURL=literal.d.ts.map