UNPKG

simc-ast-builder

Version:

Parser and AST generator for SimulationCraft files

25 lines 975 B
import { MathFuncExprContext } from "../../../../antlr4/SimCExprParser"; import { ExpressionNode } from "../../common-types"; import { ContextHandlerFn } from "../BaseHandler"; /** * Specialized node type for math function expressions (ceil/floor) */ interface MathFuncExpressionNode extends ExpressionNode { argument: ExpressionNode; function: "ceil" | "floor"; nodeType: "math"; } /** * Handler for ceil expressions */ declare const handleCeilExpr: ContextHandlerFn<MathFuncExpressionNode, MathFuncExprContext>; /** * Handler for floor expressions */ declare const handleFloorExpr: ContextHandlerFn<MathFuncExpressionNode, MathFuncExprContext>; /** * Generic handler for math function expressions (ceil/floor) */ declare const handleMathFuncExpr: ContextHandlerFn<MathFuncExpressionNode, MathFuncExprContext>; export { handleCeilExpr, handleFloorExpr, handleMathFuncExpr, type MathFuncExpressionNode, }; //# sourceMappingURL=MathFuncExprHandler.d.ts.map