UNPKG

simc-ast-builder

Version:

Parser and AST generator for SimulationCraft files

64 lines 2.38 kB
import { ExpressionNode } from "../../../common-types"; import { FieldDefinition } from "../../../utils/fieldMaps"; import { AccessHandlerFn } from "../../BaseHandler"; /** * Specialized node type for firestarter access */ interface FirestarterExpressionNode extends ExpressionNode { field: FieldDefinition; nodeType: "firestarter"; } /** * Specialized node type for improved_scorch access */ interface ImprovedScorchExpressionNode extends ExpressionNode { field: FieldDefinition; nodeType: "improved_scorch"; } /** * Specialized node type for mage access */ interface MageExpressionNode extends ExpressionNode { field: FieldDefinition; nodeType: "mage"; } /** * Specialized node type for scorch_execute access */ interface ScorchExecuteExpressionNode extends ExpressionNode { field: FieldDefinition; nodeType: "scorch_execute"; } /** * Handler for mage access contexts * This handles access to mage-specific properties */ declare const handleMage: AccessHandlerFn<MageExpressionNode>; /** * Handler for scorch_execute access contexts * This handles access to scorch_execute-specific properties for Mage */ declare const handleScorchExecute: AccessHandlerFn<ScorchExecuteExpressionNode>; /** * Handler for improved_scorch access contexts * This handles access to improved_scorch-specific properties for Mage */ declare const handleImprovedScorch: AccessHandlerFn<ImprovedScorchExpressionNode>; /** * Handler for firestarter access contexts * This handles access to firestarter-specific properties for Mage */ declare const handleFirestarter: AccessHandlerFn<FirestarterExpressionNode>; /** * Specialized node type for remaining_winters_chill access */ interface RemainingWintersChillExpressionNode extends ExpressionNode { nodeType: "remaining_winters_chill"; } /** * Handler for remaining_winters_chill access contexts * This handles access to the remaining_winters_chill property for Mage */ declare const handleRemainingWintersChill: AccessHandlerFn<RemainingWintersChillExpressionNode>; export { handleFirestarter, handleImprovedScorch, handleMage, handleRemainingWintersChill, handleScorchExecute, type FirestarterExpressionNode, type ImprovedScorchExpressionNode, type MageExpressionNode, type RemainingWintersChillExpressionNode, type ScorchExecuteExpressionNode, }; //# sourceMappingURL=MageHandler.d.ts.map