UNPKG

angular-odata

Version:

Client side OData typescript library for Angular

26 lines (25 loc) 790 B
import { Parser, ParserOptions } from '../../../types'; import { QueryCustomType } from '../builder'; import { Renderable } from './syntax'; export declare abstract class Expression<T> implements Renderable { protected _children: Renderable[]; constructor({ children, }?: { children?: Renderable[]; }); get [Symbol.toStringTag](): string; abstract render({ aliases, escape, prefix, parser, options, }: { aliases?: QueryCustomType[]; escape?: boolean; prefix?: string; parser?: Parser<T>; options?: ParserOptions; }): string; abstract clone(): Expression<T>; children(): Renderable[]; length(): number; toJson(): { $type: string; children: any[]; }; resolve(parser: any): any; }