antlr4ng
Version:
Alternative JavaScript/TypeScript runtime for ANTLR4
9 lines (8 loc) • 312 B
TypeScript
import { ParseTree } from "../ParseTree.js";
import { XPathElement } from "./XPathElement.js";
export declare class XPathTokenElement extends XPathElement {
protected tokenType: number;
constructor(tokenName: string, tokenType: number);
evaluate(t: ParseTree): ParseTree[];
toString(): string;
}