antlr4ts
Version:
ANTLR 4 runtime for JavaScript written in Typescript
12 lines (11 loc) • 473 B
TypeScript
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
import { ParseTree } from "../ParseTree";
import { XPathElement } from "./XPathElement";
export declare class XPathTokenAnywhereElement extends XPathElement {
protected tokenType: number;
constructor(tokenName: string, tokenType: number);
evaluate(t: ParseTree): ParseTree[];
}