UNPKG

xpath-ts2

Version:

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

36 lines (35 loc) 1.1 kB
import { Expression } from './xpath-types'; export declare class XPathResultImpl implements XPathResult { static readonly ANY_TYPE: 0; static NUMBER_TYPE: 1; static STRING_TYPE: 2; static BOOLEAN_TYPE: 3; static UNORDERED_NODE_ITERATOR_TYPE: 4; static ORDERED_NODE_ITERATOR_TYPE: 5; static UNORDERED_NODE_SNAPSHOT_TYPE: 6; static ORDERED_NODE_SNAPSHOT_TYPE: 7; static ANY_UNORDERED_NODE_TYPE: 8; static FIRST_ORDERED_NODE_TYPE: 9; resultType: number; numberValue: number; stringValue: string; booleanValue: boolean; nodes: Node[]; singleNodeValue: Node; invalidIteratorState: boolean; iteratorIndex: number; snapshotLength: number; ANY_TYPE: 0; NUMBER_TYPE: 1; STRING_TYPE: 2; BOOLEAN_TYPE: 3; UNORDERED_NODE_ITERATOR_TYPE: 4; ORDERED_NODE_ITERATOR_TYPE: 5; UNORDERED_NODE_SNAPSHOT_TYPE: 6; ORDERED_NODE_SNAPSHOT_TYPE: 7; ANY_UNORDERED_NODE_TYPE: 8; FIRST_ORDERED_NODE_TYPE: 9; constructor(v: Expression, t: number); iterateNext(): Node; snapshotItem(i: number): Node; }