MCPcopy
hub / github.com/formatjs/formatjs / createLocation

Function createLocation

packages/icu-messageformat-parser/parser.ts:79–81  ·  view source on GitHub ↗
(start: Position, end: Position)

Source from the content-addressed store, hash-verified

77 | ''
78
79function createLocation(start: Position, end: Position): Location {
80 return {start, end}
81}
82
83// #region Ponyfills
84// Consolidate these variables up top for easier toggling during debugging

Callers 11

parseMethod · 0.85
parseMessageMethod · 0.85
parseTagMethod · 0.85
parseLiteralMethod · 0.85
parseArgumentMethod · 0.85
parseArgumentOptionsMethod · 0.85
tryParseArgumentCloseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected