FileParseContext

interface

Context passed through the FileContentsParser pipeline.
Each parser receives this, transforms it, and returns an updated version.

PROPERTIES

NAMETYPEDESCRIPTION
filePathstringAbsolute path to the file
hunksParsedRegion[]Extracted code regions (only explicit #region blocks)
metadataRecord<string, unknown>Metadata extracted by parsers
parsedstringTransformed content (frontmatter/markers stripped)
rawstringOriginal file content, never modified
regionConfigRequired<Pick<RegionConfig, "startTag" | "endTag">>Resolved region config from ResolvedConfig.region. Always populated by createInitialContext using defaults if not configured.