simc-ast-builder
Version:
Parser and AST generator for SimulationCraft files
21 lines • 712 B
TypeScript
import { ExpressionNode } from "../../common-types";
import { AccessHandlerFn } from "../BaseHandler";
/**
* Specialized node type for prev_gcd access
*/
interface PrevGcdExpressionNode extends ExpressionNode {
actionName: string;
index: number;
nodeType: "prev_gcd";
}
/**
* Handler for prev_gcd access contexts
* This handles patterns like:
* - prev_gcd.spell_name (implicit index 1)
* - prev_gcd.1.spell_name (explicit index 1)
* - prev_gcd.2.spell_name (explicit index 2)
* - prev_gcd.3.spell_name (explicit index 3)
*/
declare const handlePrevGcd: AccessHandlerFn<PrevGcdExpressionNode>;
export { handlePrevGcd, type PrevGcdExpressionNode };
//# sourceMappingURL=PrevGcdHandler.d.ts.map