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 CompileCompile-time-only directive API namespace.
Functions
function emitImplements(context: Context, target: ItemReference, traitName: str): voidQueue a generated implemented-trait delta for the current expand directive target.
function emitMethod(context: Context, target: ItemReference, name: str, isStatic: boolean): voidQueue a generated attached-method delta for the current expand directive target.
function emitRecord(context: Context, target: ItemReference, name: str): voidQueue a generated record delta for the current expand directive target.
function error(context: Context, target: ItemReference, message: str): voidEmit an error diagnostic for the current directive target.
function note(context: Context, target: ItemReference, message: str): voidEmit an informational diagnostic for the current directive target.
function warning(context: Context, target: ItemReference, message: str): voidEmit a warning diagnostic for the current directive target.