MCPcopy Create free account
hub / github.com/glideapps/quicktype / annotated

Function annotated

src/Source.ts:98–104  ·  view source on GitHub ↗
(annotation: AnnotationData, sl: Sourcelike)

Source from the content-addressed store, hash-verified

96}
97
98export function annotated(annotation: AnnotationData, sl: Sourcelike): Source {
99 return {
100 kind: "annotated",
101 annotation,
102 source: sourcelikeToSource(sl)
103 };
104}
105
106export function maybeAnnotated(doAnnotate: boolean, annotation: AnnotationData, sl: Sourcelike): Sourcelike {
107 if (!doAnnotate) {

Callers 2

emitAnnotatedFunction · 0.90
maybeAnnotatedFunction · 0.85

Calls 1

sourcelikeToSourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…