/** * The compile-time half of the velar/look builders: the numeric domains each * one publishes, the animation vocabulary `animate` takes, and the record of * which calls were refused on their own arguments. * * D115 P4 R3b. That record lives with the check that made it because a * `keyframes:` stop lowers its builder calls at compile time — no call survives * to run the runtime guard, so the stop reads what this file already decided * rather than reporting the same argument twice. */ import { type Span } from "@velarscript/compiler"; import { type Expression } from "@velarscript/compiler/extension"; import { type LookAnalysisHost } from "./host.ts"; /** * LOK-U8: the velar/look builders check their numeric domains at run time, so * a literal out-of-range colour used to compile clean and blank the page on * the first paint. Literal arguments are checked in the same terms while the * module compiles; dynamic arguments keep the runtime guard. */ export declare function checkLookBuilderCall(host: LookAnalysisHost, expression: Extract): void; export declare function checkAnimateBuilderCall(host: LookAnalysisHost, expression: Extract): void; export declare function checkAnimationKeyword(host: LookAnalysisHost, value: Expression | null, name: string, vocabulary: ReadonlySet): void; /** Whether a builder call this compile refused on its own arguments lies inside `sourceSpan`. */ export declare function refusedBuilderCallWithin(host: LookAnalysisHost, sourceSpan: Span): boolean; //# sourceMappingURL=builders.d.ts.map