UNPKG

@qrvey/formula-lang

Version:

QFormula support for qrvey projects

22 lines (21 loc) 807 B
import { ENGINES } from '../constants'; import { ProgramAST, TranspilationResponse, FormulaContext } from '../constants/interfaces'; export declare class Transpiler { private ast; private readonly engine; private readonly globalContext?; private customFunctionList; private aggregatedMap; private formulaErrorList; constructor(ast: ProgramAST, engine: ENGINES, globalContext?: FormulaContext | undefined); get(): TranspilationResponse; private processNode; private conversionFromColumnToLiteral; private column; private literal; private unaryExpression; private binaryExpression; private functionCall; private executer; } export declare function TranspileAST(ast: ProgramAST, engine: ENGINES, context?: FormulaContext): TranspilationResponse;