MCPcopy Index your code
hub / github.com/CesiumGS/cesium / processEngineSource

Function processEngineSource

gulpfile.js:1143–1157  ·  view source on GitHub ↗
(definitionsPath, source)

Source from the content-addressed store, hash-verified

1141}
1142
1143function processEngineSource(definitionsPath, source) {
1144 let newSource = processTypescriptSource(definitionsPath, source);
1145 // Manually add a type definition from Viewer to avoid circular dependency
1146 // with the widgets package. This will no longer be needed past Cesium 1.100.
1147 newSource += `
1148 /**
1149 * @property scene - The scene in the widget.
1150 */
1151 export type Viewer = {
1152 scene: Scene;
1153 };
1154 `;
1155
1156 return newSource;
1157}
1158
1159function createTypeScriptDefinitions() {
1160 // Run jsdoc with tsd-jsdoc to generate an initial Cesium.d.ts file.

Callers

nothing calls this directly

Calls 1

processTypescriptSourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…