UNPKG

xpath-ts2

Version:

DOM 3 and 4 XPath 1.0 implementation for browser and Node.js environment with support for typescript 5.

12 lines (11 loc) 522 B
import { FunctionResolver, FunctionType, XPathContext } from './xpath-types'; export declare class FunctionResolverImpl implements FunctionResolver { static getFunctionFromContext(qName: string, context: XPathContext): FunctionType | undefined; functions: { [key: string]: FunctionType | undefined; }; constructor(); addStandardFunctions(): void; addFunction(ns: string, ln: string, f: FunctionType): void; getFunction(localName: string, namespace: string): FunctionType | undefined; }