/** * `look:` as a block-valued expression: the whole shape is read up front, once, * so an unfinished Look value says one thing rather than unravelling into six * diagnostics as each expectation fails in turn (LOK-I3). */ import type { Diagnostic } from "@velarscript/compiler"; import { type Expression, type Token, type TokenKind } from "@velarscript/compiler/extension"; import { type VisualBlockParserHost } from "./visual-block.ts"; export interface LookExpressionParserHost extends VisualBlockParserHost { readonly diagnostics: Diagnostic[]; parseNestedExpression(fragment: string, offset: number, bracketFragment?: boolean, sourceOffsets?: readonly number[]): Expression; peekKind(distance: number): TokenKind; skipMistypedDeclaration(): void; } export declare function parseLookExpression(host: LookExpressionParserHost, token: Token): Expression; //# sourceMappingURL=look.d.ts.map