MCPcopy
hub / github.com/4ian/GDevelop / setSource

Method setSource

GDevelop.js/scripts/generate-dts.mjs:107–111  ·  view source on GitHub ↗

@param {string} str

(str)

Source from the content-addressed store, hash-verified

105
106 /** @param {string} str */
107 static setSource(str) {
108 this.parserPosition = 0;
109 this.sourceString = str;
110 this.sourceLength = str.length;
111 }
112 static get isDone() {
113 return this.parserPosition >= this.sourceLength;
114 }

Callers 5

generate-dts.mjsFile · 0.80
Core.jsFile · 0.80
addAnimationFunction · 0.80
Model3DEditor.jsFile · 0.80
SpineEditor.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

addAnimationFunction · 0.64