nadesiko3 3.3.12 → 3.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/batch/command.txt +2 -1
- package/batch/command_nakopad.txt +2 -1
- package/package.json +2 -2
- package/release/_hash.txt +16 -16
- package/release/_script-tags.txt +14 -14
- package/release/command.json +1 -1
- package/release/command.json.js +1 -1
- package/release/command_cnako3.json +1 -1
- package/release/command_list.json +1 -1
- package/release/editor.js +1 -1
- package/release/stats.json +1 -1
- package/release/version.js +1 -1
- package/release/wnako3.js +1 -1
- package/src/nako_gen.mjs +11 -1
- package/src/nako_version.mjs +2 -2
- package/test/common/func_call.mjs +4 -0
package/src/nako_gen.mjs
CHANGED
|
@@ -188,8 +188,18 @@ export class NakoGen {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* @param {string} name
|
|
193
|
+
* @returns {string}
|
|
194
|
+
*/
|
|
192
195
|
static getFuncName (name) {
|
|
196
|
+
if (name.indexOf('__') >= 0) { // スコープがある場合
|
|
197
|
+
const a = name.split('__')
|
|
198
|
+
let scope = a[0]
|
|
199
|
+
const name3 = NakoGen.getFuncName(a[1])
|
|
200
|
+
return `${scope}__${name3}`
|
|
201
|
+
|
|
202
|
+
}
|
|
193
203
|
let name2 = name.replace(/[ぁ-ん]+$/, '')
|
|
194
204
|
if (name2 === '') { name2 = name }
|
|
195
205
|
return name2
|
package/src/nako_version.mjs
CHANGED