All files / transpiler/output/codegen/assignment/handlers TAssignmentHandler.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                                 
/**
 * Type for assignment handler functions (ADR-109).
 *
 * Handlers access state via CodeGenState and CodeGenState.generator
 * instead of receiving deps as a parameter.
 */
import IAssignmentContext from "../IAssignmentContext";
 
/**
 * Handler function that generates C code for an assignment kind.
 * Accesses CodeGenState directly for symbol information and
 * CodeGenState.generator for CodeGenerator methods.
 */
type TAssignmentHandler = (ctx: IAssignmentContext) => string;
 
export default TAssignmentHandler;