import { AgencyNode, Expression } from "../types.js"; import { BaseNode } from "./base.js"; import { ArrayPattern, ObjectPattern } from "./pattern.js"; export type ForLoop = BaseNode & { type: "forLoop"; itemVar: string | ObjectPattern | ArrayPattern; indexVar?: string; iterable: Expression; body: AgencyNode[]; };