/** * The JSX token's structured payload becoming an expression, and the reading of * each `{...}` interpolation inside it. * * The two habits JSX brings from elsewhere — a block comment written in an * interpolation, and a `{for item in items:}` block — get one directed message * each rather than an expression-parse cascade, and recover as an inert null so * the rest of the module still analyzes. */ import type { Diagnostic } from "@velarscript/compiler"; import { type Expression, type Token } from "@velarscript/compiler/extension"; export interface JsxParserHost { readonly diagnostics: Diagnostic[]; parseNestedExpression(fragment: string, offset: number, bracketFragment?: boolean, sourceOffsets?: readonly number[]): Expression; } export declare function parseJsxExpression(host: JsxParserHost, token: Token): Expression; //# sourceMappingURL=jsx.d.ts.map