SYMBOL INDEX (318 symbols across 53 files) FILE: benchmarks/scripts/accuracy-benchmark.ts constant PROGRESS_UPDATE_INTERVAL (line 17) | const PROGRESS_UPDATE_INTERVAL = 10 constant RATE_LIMIT_INTERVAL_MS (line 18) | const RATE_LIMIT_INTERVAL_MS = 60_000 function generateEvaluationTasks (line 25) | function generateEvaluationTasks(questions: Question[]): { question: Que... function checkExistingResults (line 45) | async function checkExistingResults(activeModels: typeof models) { function createProgressUpdater (line 60) | function createProgressUpdater(spinner: ReturnType { function fetchRepoDetails (line 59) | async function fetchRepoDetails(repoList: string[]): Promise[]): Promise { FILE: benchmarks/scripts/token-efficiency-benchmark.ts type FormatMetrics (line 11) | interface FormatMetrics { type BenchmarkResult (line 18) | interface BenchmarkResult { constant DATASET_ICONS (line 24) | const DATASET_ICONS: Record = { constant COMPARISON_FORMAT_ORDER (line 33) | const COMPARISON_FORMAT_ORDER = ['json-pretty', 'json-compact', 'yaml', ... constant PROGRESS_BAR_WIDTH (line 35) | const PROGRESS_BAR_WIDTH = 20 constant TOKEN_PADDING (line 36) | const TOKEN_PADDING = 7 constant DEFAULT_DATASET_ICON (line 38) | const DEFAULT_DATASET_ICON = '📊' constant DETAILED_EXAMPLE_DATASETS (line 40) | const DETAILED_EXAMPLE_DATASETS = ['github', 'analytics'] as const constant GITHUB_REPO_LIMIT (line 41) | const GITHUB_REPO_LIMIT = 3 constant GITHUB_DESC_LIMIT (line 42) | const GITHUB_DESC_LIMIT = 80 constant ANALYTICS_METRICS_LIMIT (line 43) | const ANALYTICS_METRICS_LIMIT = 5 function formatComparisonLine (line 50) | function formatComparisonLine(format: FormatMetrics, isLast: boolean = f... function calculateTotalMetrics (line 63) | function calculateTotalMetrics(datasets: BenchmarkResult[], formatNames:... function generateTotalLines (line 85) | function generateTotalLines( function generateDatasetChart (line 131) | function generateDatasetChart(result: BenchmarkResult): string { FILE: benchmarks/src/constants.ts constant ROOT_DIR (line 4) | const ROOT_DIR: string = url.fileURLToPath(new URL('../../', import.meta... constant BENCHMARKS_DIR (line 5) | const BENCHMARKS_DIR: string = url.fileURLToPath(new URL('../', import.m... constant DEFAULT_CONCURRENCY (line 10) | const DEFAULT_CONCURRENCY = 10 constant DRY_RUN (line 18) | const DRY_RUN: boolean = process.env.DRY_RUN === 'true' constant DRY_RUN_LIMITS (line 23) | const DRY_RUN_LIMITS = { constant MODEL_RPM_LIMITS (line 35) | const MODEL_RPM_LIMITS: Record = { constant FORMATTER_DISPLAY_NAMES (line 45) | const FORMATTER_DISPLAY_NAMES: Record = { constant QUESTION_TYPES (line 57) | const QUESTION_TYPES = [ constant QUESTION_TYPE_LABELS (line 69) | const QUESTION_TYPE_LABELS = { constant DATASET_NAMES (line 81) | const DATASET_NAMES = [ constant STRUCTURE_CLASSES (line 99) | const STRUCTURE_CLASSES = [ constant QUESTION_THRESHOLDS (line 109) | const QUESTION_THRESHOLDS = { constant QUESTION_LIMITS (line 154) | const QUESTION_LIMITS = { FILE: benchmarks/src/datasets.ts type Employee (line 11) | interface Employee { type Order (line 24) | interface Order { type AnalyticsMetric (line 49) | interface AnalyticsMetric { type Repository (line 61) | interface Repository { type EventLog (line 78) | interface EventLog { type NestedConfig (line 95) | interface NestedConfig { type Product (line 150) | interface Product { type StructuralValidationType (line 162) | type StructuralValidationType = 'truncated' | 'extra-rows' | 'width-mism... type StructuralValidationFixture (line 164) | interface StructuralValidationFixture { function generateAnalyticsData (line 174) | function generateAnalyticsData(days: number, startDate = '2025-01-01'): { function generateEmployees (line 210) | function generateEmployees(count: number): { employees: Employee[] } { constant PRODUCT_NAMES (line 247) | const PRODUCT_NAMES = ['Wireless Mouse', 'USB Cable', 'Laptop Stand', 'K... constant ORDER_STATUSES (line 248) | const ORDER_STATUSES = ['pending', 'processing', 'shipped', 'delivered',... function generateOrders (line 250) | function generateOrders(count: number): { orders: Order[] } { function generateOrderData (line 353) | function generateOrderData(): Order { function generateEventLogs (line 383) | function generateEventLogs(count: number): { logs: EventLog[] } { function generateNestedConfig (line 428) | function generateNestedConfig(): NestedConfig { function generateProducts (line 538) | function generateProducts(count: number): { products: Product[] } { function generateStructuralValidationFixtures (line 561) | function generateStructuralValidationFixtures(): StructuralValidationFix... constant ACCURACY_DATASETS (line 691) | const ACCURACY_DATASETS: Dataset[] = [ constant TOKEN_EFFICIENCY_DATASETS (line 704) | const TOKEN_EFFICIENCY_DATASETS: Dataset[] = [ FILE: benchmarks/src/evaluate.ts constant PRIMERS (line 26) | const PRIMERS: Record = { constant FENCE (line 38) | const FENCE: Record = { function evaluateQuestion (line 50) | async function evaluateQuestion( FILE: benchmarks/src/formatters.ts function toCSV (line 39) | function toCSV(data: unknown): string { function toXML (line 70) | function toXML(data: unknown): string { function supportsCSV (line 87) | function supportsCSV(dataset: Dataset): boolean { FILE: benchmarks/src/normalize.ts type AnswerType (line 4) | type AnswerType type NormalizationOptions (line 16) | interface NormalizationOptions { type NormalizedResult (line 48) | interface NormalizedResult { constant DEFAULT_OPTIONS (line 57) | const DEFAULT_OPTIONS: Required = { constant INTEGER_PATTERN_WITH_CURRENCY (line 66) | const INTEGER_PATTERN_WITH_CURRENCY = /[$€£¥]?\s*-?\d[\d,]*/ constant INTEGER_PATTERN (line 67) | const INTEGER_PATTERN = /-?\d[\d,]*/ constant NUMBER_PATTERN_WITH_CURRENCY (line 68) | const NUMBER_PATTERN_WITH_CURRENCY = /[$€£¥]?\s*-?\d[\d,]*(?:\.\d+)?(?:e... constant NUMBER_PATTERN (line 69) | const NUMBER_PATTERN = /-?\d[\d,]*(?:\.\d+)?(?:e[+-]?\d+)?%?/i constant WRAPPING_QUOTES_PATTERN (line 70) | const WRAPPING_QUOTES_PATTERN = /^["']|["']$/g constant CODE_FENCE_PATTERN (line 71) | const CODE_FENCE_PATTERN = /^```[\s\S]*?```$/g constant LANGUAGE_IDENTIFIER_PATTERN (line 72) | const LANGUAGE_IDENTIFIER_PATTERN = /^\w+\n/ constant CURRENCY_AND_FORMATTING_CHARS (line 73) | const CURRENCY_AND_FORMATTING_CHARS = /[$€£¥,\s]/g constant NUMBER_CLEANUP_CHARS (line 74) | const NUMBER_CLEANUP_CHARS = /[$€£¥,%\s]/g constant TRUE_VALUES (line 77) | const TRUE_VALUES = new Set(['true', 'yes', 'y', '1']) constant FALSE_VALUES (line 78) | const FALSE_VALUES = new Set(['false', 'no', 'n', '0']) constant PERCENTAGE_DIVISOR (line 81) | const PERCENTAGE_DIVISOR = 100 constant DECIMAL_BASE (line 82) | const DECIMAL_BASE = 10 constant MONTH_OFFSET (line 83) | const MONTH_OFFSET = 1 // JavaScript months are 0-indexed constant DATE_COMPONENT_WIDTH (line 84) | const DATE_COMPONENT_WIDTH = 2 constant DATE_PAD_CHAR (line 85) | const DATE_PAD_CHAR = '0' constant CSV_DELIMITER (line 88) | const CSV_DELIMITER = ',' function stripWrappingQuotes (line 93) | function stripWrappingQuotes(text: string): string { function normalizeInteger (line 103) | function normalizeInteger(text: string, options: Required strin... FILE: benchmarks/src/questions/github.ts function generateGithubQuestions (line 9) | function generateGithubQuestions(repos: Repository[], getId: () => strin... FILE: benchmarks/src/questions/index.ts function generateQuestions (line 27) | function generateQuestions(): Question[] { FILE: benchmarks/src/questions/nested-config.ts function generateNestedConfigQuestions (line 9) | function generateNestedConfigQuestions(config: NestedConfig | undefined,... FILE: benchmarks/src/questions/nested.ts function generateNestedQuestions (line 9) | function generateNestedQuestions(orders: Order[], getId: () => string): ... FILE: benchmarks/src/questions/structural-validation.ts function generateStructuralValidationQuestions (line 15) | function generateStructuralValidationQuestions( FILE: benchmarks/src/questions/structure.ts function generateStructureQuestions (line 13) | function generateStructureQuestions( FILE: benchmarks/src/questions/tabular.ts function generateTabularQuestions (line 9) | function generateTabularQuestions(employees: Employee[], getId: () => st... FILE: benchmarks/src/questions/utils.ts constant SAMPLE_STRIDES (line 5) | const SAMPLE_STRIDES = { class QuestionBuilder (line 28) | class QuestionBuilder { method id (line 31) | id(id: string): this { method prompt (line 36) | prompt(prompt: string): this { method groundTruth (line 41) | groundTruth(groundTruth: string): this { method type (line 46) | type(type: Question['type']): this { method dataset (line 51) | dataset(dataset: Question['dataset']): this { method answerType (line 56) | answerType(kind: AnswerType): this { method normalize (line 61) | normalize(options: Partial): this { method build (line 66) | build(): Question { function rotateQuestions (line 78) | function rotateQuestions( FILE: benchmarks/src/report.ts constant EFFICIENCY_CHART_STYLE (line 9) | const EFFICIENCY_CHART_STYLE: 'vertical' | 'horizontal' = 'horizontal' function calculateTokenCounts (line 17) | function calculateTokenCounts( function calculateFormatResults (line 43) | function calculateFormatResults( function generateAccuracyReport (line 76) | function generateAccuracyReport( function generateDatasetCatalog (line 109) | function generateDatasetCatalog(datasets: Dataset[]): string { function generateEfficiencyRankingReport (line 141) | function generateEfficiencyRankingReport( function generateDetailedAccuracyReport (line 204) | function generateDetailedAccuracyReport( function generateModelBreakdown (line 354) | function generateModelBreakdown( function generateSummaryComparison (line 396) | function generateSummaryComparison( function generateDatasetBreakdown (line 412) | function generateDatasetBreakdown( function generateQuestionTypeBreakdown (line 475) | function generateQuestionTypeBreakdown( function generateModelPerformanceTable (line 517) | function generateModelPerformanceTable( function generateHorizontalEfficiencyChart (line 554) | function generateHorizontalEfficiencyChart( function generateVerticalEfficiencyChart (line 582) | function generateVerticalEfficiencyChart( FILE: benchmarks/src/storage.ts function loadModelResults (line 20) | async function loadModelResults(modelId: string): Promise { FILE: benchmarks/src/types.ts type QuestionType (line 4) | type QuestionType = typeof QUESTION_TYPES[number] type DatasetName (line 5) | type DatasetName = typeof DATASET_NAMES[number] type StructureClass (line 6) | type StructureClass = typeof STRUCTURE_CLASSES[number] type DatasetMetadata (line 8) | interface DatasetMetadata { type Dataset (line 14) | interface Dataset { type Question (line 21) | interface Question { type EvaluationResult (line 38) | interface EvaluationResult { type FormatResult (line 50) | interface FormatResult { type EfficiencyRanking (line 59) | interface EfficiencyRanking { FILE: benchmarks/src/utils.ts function createProgressBar (line 20) | function createProgressBar( function tokenize (line 40) | function tokenize(text: string): number { function ensureDir (line 49) | async function ensureDir(dirPath: string): Promise { FILE: docs/.vitepress/config.ts method config (line 103) | config(md) { function sidebarPrimary (line 110) | function sidebarPrimary(): DefaultTheme.SidebarItem[] { FILE: docs/.vitepress/theme/index.ts method enhanceApp (line 13) | enhanceApp({ app }) { FILE: packages/cli/src/conversion.ts function encodeToToon (line 14) | async function encodeToToon(config: { function decodeToJson (line 77) | async function decodeToJson(config: { function writeStreamingJson (line 133) | async function writeStreamingJson( function writeStreamingToon (line 167) | async function writeStreamingToon( FILE: packages/cli/src/index.ts method run (line 79) | async run({ args }) { FILE: packages/cli/src/json-from-events.ts type JsonContext (line 6) | type JsonContext FILE: packages/cli/src/types.ts type InputSource (line 1) | type InputSource FILE: packages/cli/src/utils.ts function detectMode (line 7) | function detectMode( function readInput (line 30) | async function readInput(source: InputSource): Promise { function formatInputLabel (line 37) | function formatInputLabel(source: InputSource): string { function readFromStdin (line 45) | function readFromStdin(): Promise { FILE: packages/cli/test/json-from-events.test.ts function join (line 417) | async function join(iter: AsyncIterable): Promise { FILE: packages/cli/test/json-stringify-stream.test.ts function join (line 243) | function join(iter: Iterable): string { FILE: packages/cli/test/utils.ts type FileRecord (line 9) | interface FileRecord { function runCli (line 13) | function runCli(options?: Parameters[1]): Promise { type CliTestContext (line 17) | interface CliTestContext { constant TEMP_PREFIX (line 26) | const TEMP_PREFIX = path.join(os.tmpdir(), 'toon-cli-test-') function createCliTestContext (line 28) | async function createCliTestContext(initialFiles: FileRecord = {}): Prom... function writeFiles (line 71) | async function writeFiles(baseDir: string, files: FileRecord): Promise void { FILE: packages/toon/src/constants.ts constant LIST_ITEM_MARKER (line 3) | const LIST_ITEM_MARKER = '-' constant LIST_ITEM_PREFIX (line 4) | const LIST_ITEM_PREFIX = '- ' constant COMMA (line 10) | const COMMA = ',' constant COLON (line 11) | const COLON = ':' constant SPACE (line 12) | const SPACE = ' ' constant PIPE (line 13) | const PIPE = '|' constant DOT (line 14) | const DOT = '.' constant OPEN_BRACKET (line 20) | const OPEN_BRACKET = '[' constant CLOSE_BRACKET (line 21) | const CLOSE_BRACKET = ']' constant OPEN_BRACE (line 22) | const OPEN_BRACE = '{' constant CLOSE_BRACE (line 23) | const CLOSE_BRACE = '}' constant NULL_LITERAL (line 29) | const NULL_LITERAL = 'null' constant TRUE_LITERAL (line 30) | const TRUE_LITERAL = 'true' constant FALSE_LITERAL (line 31) | const FALSE_LITERAL = 'false' constant BACKSLASH (line 37) | const BACKSLASH = '\\' constant DOUBLE_QUOTE (line 38) | const DOUBLE_QUOTE = '"' constant NEWLINE (line 39) | const NEWLINE = '\n' constant CARRIAGE_RETURN (line 40) | const CARRIAGE_RETURN = '\r' constant TAB (line 41) | const TAB = '\t' constant DELIMITERS (line 47) | const DELIMITERS = { type DelimiterKey (line 53) | type DelimiterKey = keyof typeof DELIMITERS type Delimiter (line 54) | type Delimiter = typeof DELIMITERS[DelimiterKey] constant DEFAULT_DELIMITER (line 56) | const DEFAULT_DELIMITER: Delimiter = DELIMITERS.comma FILE: packages/toon/src/decode/decoders.ts type DecoderContext (line 9) | interface DecoderContext { indent: number, strict: boolean } class StreamingLineCursor (line 13) | class StreamingLineCursor { method constructor (line 20) | constructor( method getBlankLines (line 28) | getBlankLines() { method peek (line 32) | async peek(): Promise { method next (line 51) | async next(): Promise { method advance (line 61) | async advance(): Promise { method current (line 65) | current(): ParsedLine | undefined { method atEnd (line 69) | async atEnd(): Promise { method peekSync (line 73) | peekSync(): ParsedLine | undefined { method nextSync (line 92) | nextSync(): ParsedLine | undefined { method advanceSync (line 102) | advanceSync(): void { method atEndSync (line 106) | atEndSync(): boolean { function isKeyValueLineSync (line 497) | function isKeyValueLineSync(line: ParsedLine): boolean { FILE: packages/toon/src/decode/event-builder.ts type BuildContext (line 6) | type BuildContext type BuildState (line 10) | interface BuildState { function buildValueFromEvents (line 19) | function buildValueFromEvents(events: Iterable): JsonVa... function buildValueFromEventsAsync (line 33) | async function buildValueFromEventsAsync(events: AsyncIterable { function isArrayOfPrimitives (line 128) | function isArrayOfPrimitives(value: JsonArray): value is readonly JsonPr... function isArrayOfArrays (line 132) | function isArrayOfArrays(value: JsonArray): value is readonly JsonArray[] { function isArrayOfObjects (line 136) | function isArrayOfObjects(value: JsonArray): value is readonly JsonObjec... FILE: packages/toon/src/encode/primitives.ts function encodePrimitive (line 8) | function encodePrimitive(value: JsonPrimitive, delimiter?: string): stri... function encodeStringLiteral (line 24) | function encodeStringLiteral(value: string, delimiter: string = DEFAULT_... function encodeKey (line 36) | function encodeKey(key: string): string { function encodeAndJoinPrimitives (line 48) | function encodeAndJoinPrimitives(values: readonly JsonPrimitive[], delim... function formatHeader (line 56) | function formatHeader( FILE: packages/toon/src/encode/replacer.ts function applyReplacer (line 16) | function applyReplacer(root: JsonValue, replacer: EncodeReplacer): JsonV... function transformChildren (line 40) | function transformChildren( function transformObject (line 65) | function transformObject( function transformArray (line 100) | function transformArray( FILE: packages/toon/src/index.ts function encode (line 48) | function encode(input: unknown, options?: EncodeOptions): string { function decode (line 70) | function decode(input: string, options?: DecodeOptions): JsonValue { function encodeLines (line 99) | function encodeLines(input: unknown, options?: EncodeOptions): Iterable<... function decodeFromLines (line 129) | function decodeFromLines(lines: Iterable, options?: DecodeOption... function decodeStreamSync (line 175) | function decodeStreamSync(lines: Iterable, options?: DecodeStrea... function decodeStream (line 208) | function decodeStream( function resolveOptions (line 215) | function resolveOptions(options?: EncodeOptions): ResolvedEncodeOptions { function resolveDecodeOptions (line 225) | function resolveDecodeOptions(options?: DecodeOptions): ResolvedDecodeOp... FILE: packages/toon/src/shared/literal-utils.ts constant NUMERIC_LITERAL_PATTERN (line 3) | const NUMERIC_LITERAL_PATTERN = /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:e[+-]?\d+... function isBooleanOrNullLiteral (line 5) | function isBooleanOrNullLiteral(token: string): boolean { function isNumericLiteral (line 15) | function isNumericLiteral(token: string): boolean { FILE: packages/toon/src/shared/string-utils.ts function escapeString (line 9) | function escapeString(value: string): string { function unescapeString (line 24) | function unescapeString(value: string): string { function findClosingQuote (line 74) | function findClosingQuote(content: string, start: number): number { function findUnquotedChar (line 93) | function findUnquotedChar(content: string, char: string, start = 0): num... FILE: packages/toon/src/shared/validation.ts constant NUMERIC_LIKE_PATTERN (line 4) | const NUMERIC_LIKE_PATTERN = /^-?\d+(?:\.\d+)?(?:e[+-]?\d+)?$/i constant LEADING_ZERO_PATTERN (line 5) | const LEADING_ZERO_PATTERN = /^0\d+$/ function isValidUnquotedKey (line 14) | function isValidUnquotedKey(key: string): boolean { function isIdentifierSegment (line 27) | function isIdentifierSegment(key: string): boolean { function isSafeUnquoted (line 45) | function isSafeUnquoted(value: string, delimiter: string = DEFAULT_DELIM... function isNumericLike (line 98) | function isNumericLike(value: string): boolean { FILE: packages/toon/src/types.ts type JsonPrimitive (line 5) | type JsonPrimitive = string | number | boolean | null type JsonObject (line 6) | type JsonObject = { [Key in string]: JsonValue } & { [Key in string]?: J... type JsonArray (line 7) | type JsonArray = JsonValue[] | readonly JsonValue[] type JsonValue (line 8) | type JsonValue = JsonPrimitive | JsonObject | JsonArray type EncodeReplacer (line 46) | type EncodeReplacer = ( type EncodeOptions (line 52) | interface EncodeOptions { type ResolvedEncodeOptions (line 86) | type ResolvedEncodeOptions = Readonly> type DecodeStreamOptions (line 121) | interface DecodeStreamOptions extends Omit { type JsonStreamEvent (line 133) | type JsonStreamEvent type ArrayHeaderInfo (line 145) | interface ArrayHeaderInfo { type ParsedLine (line 152) | interface ParsedLine { type BlankLineInfo (line 160) | interface BlankLineInfo { type Depth (line 168) | type Depth = number FILE: packages/toon/test/decodeStreamAsync.test.ts function collect (line 261) | async function collect(iterable: AsyncIterable): Promise { FILE: packages/toon/test/encode.test.ts function resolveEncodeOptions (line 46) | function resolveEncodeOptions(options?: TestCase['options']): ResolvedEn... FILE: packages/toon/test/normalization.test.ts method toJSON (line 121) | toJSON() { method toJSON (line 132) | toJSON() { method toJSON (line 143) | toJSON() { method toJSON (line 154) | toJSON() { method toJSON (line 169) | toJSON() { method toJSON (line 175) | toJSON() { method toJSON (line 186) | toJSON() { class CustomClass (line 197) | class CustomClass { method constructor (line 200) | constructor(value: string) { method toJSON (line 204) | toJSON() { method toJSON (line 217) | toJSON() { method toJSON (line 229) | toJSON() { method toJSON (line 249) | toJSON() { FILE: packages/toon/test/types.ts type TestCase (line 8) | interface TestCase { type Fixtures (line 26) | interface Fixtures {