UNPKG

ts-flex-query

Version:
12 lines (11 loc) 680 B
import { Expression } from '../../core'; import { SerializedVariableValues } from './types'; export declare class ExpressionSerializer { /** * Serializes an expression to an OData expression. * @param serializedVariableValues Maps variable symbols to serialized values or null if this variable represents the current base object. * @returns The expression string, or null if the expression refers to the current base object (represented by a variable with serializedVariableValues[V] = null). */ static serializeExpression(expression: Expression, serializedVariableValues: SerializedVariableValues): string | null; private static serializeValue; }