UNPKG

@autobe/compiler

Version:

AI backend server code generator

13 lines (12 loc) 1.11 kB
import { AutoBeTest } from "@autobe/interface"; import ts from "typescript"; import { IAutoBeTestProgrammerContext } from "./IAutoBeTestProgrammerContext"; export declare namespace AutoBeTestLiteralProgrammer { const booleanLiteral: (_ctx: IAutoBeTestProgrammerContext, expr: AutoBeTest.IBooleanLiteral) => ts.BooleanLiteral; const numericLiteral: (_ctx: IAutoBeTestProgrammerContext, expr: AutoBeTest.INumericLiteral) => ts.NumericLiteral | ts.PrefixUnaryExpression; const stringLiteral: (_ctx: IAutoBeTestProgrammerContext, expr: AutoBeTest.IStringLiteral) => ts.StringLiteral; const arrayLiteralExpression: (ctx: IAutoBeTestProgrammerContext, expr: AutoBeTest.IArrayLiteralExpression) => ts.ArrayLiteralExpression; const objectLiteralExpression: (ctx: IAutoBeTestProgrammerContext, expr: AutoBeTest.IObjectLiteralExpression) => ts.ObjectLiteralExpression; const nullLiteral: (_ctx: IAutoBeTestProgrammerContext, _expr: AutoBeTest.INullLiteral) => ts.NullLiteral; const undefinedKeyword: (_ctx: IAutoBeTestProgrammerContext, _expr: AutoBeTest.IUndefinedKeyword) => ts.Identifier; }