Module

std::compile

Compile-time-only std placeholders for directive execution.

This module remains source-only: it exists for analyzer-facing directive APIs and must never introduce runtime headers, objects, or link requirements. Only diagnostic host calls execute today. Builder and reflection handles are still exposed as opaque compile-time types so directive signatures can evolve against stable names while unsupported operations fail explicitly.

namespace Compile

Compile-time-only directive API namespace.

Functions

function emitImplements(context: Context, target: ItemReference, traitName: str): void

Queue a generated implemented-trait delta for the current expand directive target.

function emitMethod(context: Context, target: ItemReference, name: str, isStatic: boolean): void

Queue a generated attached-method delta for the current expand directive target.

function emitRecord(context: Context, target: ItemReference, name: str): void

Queue a generated record delta for the current expand directive target.

function error(context: Context, target: ItemReference, message: str): void

Emit an error diagnostic for the current directive target.

function note(context: Context, target: ItemReference, message: str): void

Emit an informational diagnostic for the current directive target.

function warning(context: Context, target: ItemReference, message: str): void

Emit a warning diagnostic for the current directive target.