MCPcopy Create free account

hub / github.com/accforgit/TransVue2Ts / functions

Functions41 in github.com/accforgit/TransVue2Ts

↓ 37 callersFunctiongenerateFn
commonutil.js:24
↓ 15 callersFunctionwriteError
commonutil.js:86
↓ 8 callersFunctiongetNewFilePath
(fileName, isDirectory = false)
index.js:29
↓ 4 callersFunctioncapUpper
commonutil.js:70
↓ 4 callersFunctionclearJsFile
* 在新文件夹中删掉已经被 .ts文件代替的 .js文件
index.js:211
↓ 4 callersFunctiongetFnInfo
(babelNode, rootNode)
commonutil.js:49
↓ 4 callersFunctionwatchFnName
commonutil.js:11
↓ 3 callersFunctioncommonFnManage
(v, self)
util.js:21
↓ 3 callersFunctionparseFn
commonutil.js:30
↓ 3 callersFunctionwatchParamStr
commonutil.js:20
↓ 2 callersFunctionexcuteFile
(filePath)
index.js:81
↓ 2 callersMethodgenerateCode
()
ManageMain.js:105
↓ 2 callersFunctionisPathExist
* 检查路径是否存在 * @param {String} filePath 路径
index.js:198
↓ 1 callersMethod_excuteManage
()
ManageMain.js:38
↓ 1 callersMethod_init
()
ManageMain.js:26
↓ 1 callersMethod_initData
()
ManageMain.js:15
↓ 1 callersMethod_joinFullTsTemplate
()
ManageMain.js:75
↓ 1 callersFunctionentry
()
index.js:14
↓ 1 callersFunctiongetBaseName
(fileName)
index.js:39
↓ 1 callersFunctiongetFnMain
commonutil.js:41
↓ 1 callersFunctionisBabelFunction
commonutil.js:78
↓ 1 callersFunctionmanageDir
* 处理文件夹,遍历处理目录下所有文件(夹) * @param {*} dirPath 目录路径
index.js:68
↓ 1 callersFunctionmanageFile
* 处理文件 * @param {String} filePath 文件路径
index.js:47
↓ 1 callersFunctionmkdirRecursive
* 确保 filePath 这个路径实际存在,如果不存在则创建 * @param {*} filePath
index.js:178
↓ 1 callersFunctiontransVueScript
* 处理 vue 文件的 script,转化为 ts 形式 * @param {String} vuefilePath vue 文件的路径 * @param {String} data vue文件内容
index.js:98
↓ 1 callersFunctionupdateCreated
(initDataCode, self)
util.js:43
Methodconstructor
(scriptCode, className, filePath)
ManageMain.js:7
FunctiongetFnParams
commonutil.js:62
FunctiongetType
(typeInfo)
util.js:117
Functionhandler
(item)
util.js:63
FunctionhandlerArrayString
(item)
util.js:98
FunctionhandlerArrowFunctionExpression
(v, value, kk)
util.js:263
FunctionhandlerES6FunctionExpression
(v, value, kk)
util.js:255
FunctionhandlerError
(title, msg, modeTemplate)
util.js:200
FunctionhandlerFunctionExpression
(v, value, kk)
util.js:259
FunctionhandlerItem
(v, value, kk)
util.js:284
FunctionhandlerObjectExpression
(v, value, kk)
util.js:267
FunctionhandlerStringLiteral
(v, value, kk)
util.js:248
FunctionhandlerType
(va, self)
util.js:103
Functionhanlder
(item, self)
util.js:388
FunctionhanlderExtraData
(extraData, returnData, self)
util.js:166