* Represents a labeled code fence found in a source file.
| 63 | * Represents a labeled code fence found in a source file. |
| 64 | */ |
| 65 | interface LabeledCodeFence { |
| 66 | /** Optional display filename (e.g., "my-app.ts") */ |
| 67 | displayName?: string; |
| 68 | /** Relative path to the example file (e.g., "./app.examples.ts") */ |
| 69 | examplePath: string; |
| 70 | /** Region name (e.g., "App_basicUsage"), or undefined for whole file */ |
| 71 | regionName?: string; |
| 72 | /** Language from the code fence (e.g., "ts", "json", "yaml") */ |
| 73 | language: string; |
| 74 | /** Character index of the opening fence line start */ |
| 75 | openingFenceStart: number; |
| 76 | /** Character index after the opening fence line (after newline) */ |
| 77 | openingFenceEnd: number; |
| 78 | /** Character index of the closing fence line start */ |
| 79 | closingFenceStart: number; |
| 80 | /** The JSDoc line prefix extracted from context (e.g., " * ") */ |
| 81 | linePrefix: string; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Cache for example file regions to avoid re-reading files. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…