/** * Token Readers * Functions to read specific token types from source */ import type { Token } from '../types.js'; import { type LexerState } from './state.js'; export declare function readString(state: LexerState): Token; export declare function readTripleQuoteString(state: LexerState): Token; export declare function readNumber(state: LexerState): Token; export declare function readIdentifier(state: LexerState): Token; /** * Read an atom literal: #NAME * Called when the current character is `#` and the next character is an * uppercase ASCII letter. Consumes the `#` plus the trailing identifier * characters and emits an ATOM token whose value is the name WITHOUT the * leading `#` sigil. * * The lexer performs only light shape checks (`[A-Z][A-Z0-9_]*`-ish by virtue * of starting on an uppercase letter and continuing on identifier chars). The * atom registry enforces strict validation at parse/resolution time. */ export declare function readAtom(state: LexerState): Token; export declare function readVariable(state: LexerState): Token;