UNPKG

antlr4ng

Version:

Alternative JavaScript/TypeScript runtime for ANTLR4

12 lines (11 loc) 390 B
import { ParseTree } from "../ParseTree.js"; import { XPathElement } from "./XPathElement.js"; /** * Either `ID` at start of path or `...//ID` in middle of path. */ export declare class XPathRuleAnywhereElement extends XPathElement { protected ruleIndex: number; constructor(ruleName: string, ruleIndex: number); evaluate(t: ParseTree): ParseTree[]; toString(): string; }