MCPcopy Create free account
hub / github.com/CashScript/cashscript / parsePositionHint

Function parsePositionHint

packages/utils/src/source-map.ts:117–121  ·  view source on GitHub ↗
(hint: string)

Source from the content-addressed store, hash-verified

115};
116
117const parsePositionHint = (hint: string): PositionHint | undefined => {
118 if (hint === '1') return PositionHint.END;
119 if (hint === '0') return PositionHint.START;
120 return undefined;
121};
122
123const SOURCE_TAG_KIND_VALUES = new Set<string>(Object.values(SourceTagKind));
124

Callers 1

sourceMapToLocationDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected