2024-06-20 00:45:01 +03:00

12 lines
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;