UNPKG

rollun-ts-rql

Version:

RQL query object and serializer written in TypeScript

11 lines (10 loc) 510 B
import TokenStream from '../../../TokenStream'; import { NodeParserInterface, SubParserInterface } from '../../../interfaces'; export default abstract class AbstractLogicalOperatorNodeParser implements NodeParserInterface { protected conditionParser: any; constructor(conditionParser: SubParserInterface); protected abstract createNode(queries: any[]): any; protected abstract getOperatorName(): any; parse(tokenStream: TokenStream): any; supports(tokenStream: TokenStream): boolean; }