/** * Literal expression emitters * * EXPLICIT TYPE EMISSION: * - All numeric literals get explicit type suffixes based on expected type * - long → L, uint → U, ulong → UL, float → f, decimal → m * - int, byte, sbyte, short, ushort, double → no suffix needed */ import { IrExpression, IrType } from "@tsonic/frontend"; import { EmitterContext } from "../types.js"; import type { CSharpExpressionAst } from "../core/format/backend-ast/types.js"; /** * Emit a literal value as CSharpExpressionAst * * @param expr - The literal expression * @param context - Emitter context * @param expectedType - Optional expected IR type (for null → default conversion in generic contexts) */ export declare const emitLiteral: (expr: Extract, context: EmitterContext, expectedType?: IrType) => [CSharpExpressionAst, EmitterContext]; //# sourceMappingURL=literals.d.ts.map