ExampleFile
classclass ExampleFileA file within an example, with optional processed content.
PROPERTIES
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| readonly absolutePath | string | Absolute path to the file |
| hunks? | ParsedRegion[] | Extracted code regions |
| parsed? | string | Parsed content with metadata/markers stripped |
| raw? | string | Raw file contents (may be lazy-loaded) |
| readonly relativePath | string | Path relative to example root |
METHODS
region(id: string): ParsedRegion | undefinedFind a region/hunk by ID. Returns undefined if not found.