import type { IterationStatementSemantics } from "./iteration-statement-semantics"; import type { IterationStatementTypeSemantics } from "./iteration-statement-type-semantics"; import type { KindParseRuleMapping, ParseRuleKindMapping } from "../../../../lexer-parser"; import type { ASTNodeMapper } from "../../../mapping"; import { Statement } from "../statement"; export type ParserIterationStatementKind = typeof ParseRuleKindMapping.RULE_forLoopIterationStatement | typeof ParseRuleKindMapping.RULE_whileLoopIterationStatement | typeof ParseRuleKindMapping.RULE_doWhileLoopIterationStatement; export type ParserIterationStatementContext = InstanceType<(typeof ASTNodeMapper.statementKindToRuleContextMap)[ParserIterationStatementKind]>; export type ParserIterationStatementRuleName = (typeof KindParseRuleMapping)[ParserIterationStatementKind]; export declare abstract class IterationStatement extends Statement { protected abstract readonly _antlrRuleCtx: ParserIterationStatementContext; abstract get kind(): ParserIterationStatementKind; abstract get ruleName(): ParserIterationStatementRuleName; }