antlr4ts
Version:
ANTLR 4 runtime for JavaScript written in Typescript
12 lines (11 loc) • 512 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 { Parser } from "./Parser";
import { ParserRuleContext } from "./ParserRuleContext";
/**
*
* @author Sam Harwell
*/
export declare function RuleVersion(version: number): <T extends ParserRuleContext>(target: Parser, propertyKey: PropertyKey, propertyDescriptor: TypedPropertyDescriptor<(...args: any[]) => T>) => void;