simc-ast-builder
Version:
Parser and AST generator for SimulationCraft files
22 lines • 809 B
TypeScript
import { ExpressionNode } from "../../common-types";
import { AccessHandlerFn } from "../BaseHandler";
/**
* Specialized node type for prev_off_gcd access
*/
interface PrevOffGcdExpressionNode extends ExpressionNode {
actionName: string;
index: number;
nodeType: "prev_off_gcd";
}
/**
* Handler for prev_off_gcd access contexts
* This handles access to previous off-GCD spell usage
* Supports patterns like:
* - prev_off_gcd.spell_name (implicit index 1)
* - prev_off_gcd.1.spell_name (explicit index 1)
* - prev_off_gcd.2.spell_name (explicit index 2)
* - prev_off_gcd.3.spell_name (explicit index 3)
*/
declare const handlePrevOffGcd: AccessHandlerFn<PrevOffGcdExpressionNode>;
export { handlePrevOffGcd, type PrevOffGcdExpressionNode };
//# sourceMappingURL=PrevOffGcdHandler.d.ts.map