simc-ast-builder
Version:
Parser and AST generator for SimulationCraft files
29 lines • 1.06 kB
TypeScript
import { ExpressionNode } from "../../../common-types";
import { FieldDefinition } from "../../../utils/fieldMaps";
import { AccessHandlerFn } from "../../BaseHandler";
/**
* Specialized node type for death_and_decay access
*/
interface DeathAndDecayExpressionNode extends ExpressionNode {
field: FieldDefinition;
nodeType: "death_and_decay";
}
/**
* Specialized node type for death_knight access
*/
interface DeathKnightExpressionNode extends ExpressionNode {
field: FieldDefinition;
nodeType: "death_knight";
}
/**
* Handler for death_and_decay access contexts
*/
declare const handleDeathAndDecay: AccessHandlerFn<DeathAndDecayExpressionNode>;
/**
* Handler for death_knight access contexts
* This is the main class handler that can be extended to handle
* class-specific expressions
*/
declare const handleDeathKnight: AccessHandlerFn<DeathKnightExpressionNode>;
export { handleDeathAndDecay, handleDeathKnight, type DeathAndDecayExpressionNode, type DeathKnightExpressionNode, };
//# sourceMappingURL=DeathKnightHandler.d.ts.map