cql-antlr-parser
Version:
Antlr Parsing of CQL in typescript
9 lines (8 loc) • 479 B
TypeScript
import { ParserRuleContext } from "antlr4ts/ParserRuleContext";
import { ParseTree } from "antlr4ts/tree";
export declare class AntlrUtils {
static findText(ctx: ParserRuleContext): string | undefined;
static findChildText(children: ParseTree[] | undefined, lexerType: number, occurrence?: number): string | undefined;
protected static findChild(children: ParseTree[], lexerType: number, occurrence: number): ParseTree | undefined;
private static isTargetType;
}