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

Method readIdentifier

GDevelop.js/scripts/generate-dts.mjs:185–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

183 }
184
185 static readIdentifier() {
186 let name = '';
187 while (
188 (Parser.currentCharacterCode >= 97 &&
189 Parser.currentCharacterCode <= 122) || // [a-z]
190 (Parser.currentCharacterCode >= 65 &&
191 Parser.currentCharacterCode <= 90) || // [A-Z]
192 (Parser.currentCharacterCode >= 48 &&
193 Parser.currentCharacterCode <= 57) || // [1-9]
194 Parser.currentCharacter === '_'
195 ) {
196 name += Parser.currentCharacter;
197 Parser.parserPosition++;
198 }
199 return name;
200 }
201
202 static readNumber() {
203 let number = '';

Callers 1

generate-dts.mjsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected