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

Function optionDefinitions

src/TargetLanguage.ts:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 };
20
21 get optionDefinitions(): OptionDefinition[] {
22 if (this._options === undefined) {
23 return panic(`Target language ${this.displayName} did not set its options`);
24 }
25 return this._options.map(o => o.definition);
26 }
27
28 protected abstract get rendererClass(): new (graph: TypeGraph, ...optionValues: any[]) => Renderer;
29

Callers

nothing calls this directly

Calls 2

panicFunction · 0.90
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…