MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / silentRegionAt

Method silentRegionAt

src/extraction/liquid-extractor.ts:167–169  ·  view source on GitHub ↗

The silent region (see `silentRegions`) holding `index`, if any.

(index: number)

Source from the content-addressed store, hash-verified

165
166 /** The silent region (see `silentRegions`) holding `index`, if any. */
167 private silentRegionAt(index: number): [start: number, end: number] | undefined {
168 return this.silentRegions().find(([start, end]) => index >= start && index < end);
169 }
170
171 /**
172 * Every occurrence of a Liquid tag, in BOTH spellings it can be written in.

Callers 2

findTagOccurrencesMethod · 0.95
extractSchemaMethod · 0.95

Calls 1

silentRegionsMethod · 0.95

Tested by

no test coverage detected