/** * The recursive-descent reader for a `look:` block's own indented source. * * D115 P4 R3e: it was already the collaborator shape — four injected fields and * a cursor, reaching the enclosing parser only through the two callbacks it was * handed — so it moves whole. */ import type { Diagnostic } from "@velarscript/compiler"; import { type Expression } from "@velarscript/compiler/extension"; import { type WebLookEntry as LookEntry } from "../ast.ts"; import type { WebLookBlockSyntax } from "../lexer.ts"; export declare class LookSourceParser { private readonly lines; private readonly blockSpan; private readonly parseExpression; private readonly report; private index; constructor(block: WebLookBlockSyntax, parseExpression: (text: string, offset: number, openingIndent?: string) => Expression, report: (item: Diagnostic) => void); parse(): readonly LookEntry[]; private parseEntries; private parseIf; private parseLookCondition; private lineSpan; } //# sourceMappingURL=look-source.d.ts.map