MCPcopy Create free account

hub / github.com/zhangdaren/miniprogram-to-uniapp / functions

Functions897 in github.com/zhangdaren/miniprogram-to-uniapp

↓ 1 callersFunctiontransformTemplateToComponent
* 将template和include标签转换为组件 * @param {*} self 页面的this * @param {*} isIncludeFile * @param {*} fileDir * @param {*} fileKey
src/transformers/tag/transform-include.js:499
↓ 1 callersFunctiontransformThisDotData
* 处理this.data = {} 这种场景,转换后为:this.setData({}) * this.data = { * style:"", * value:"", * } * @param {*} $ast
src/utils/ggcUtils.js:270
↓ 1 callersFunctiontransformThisDotOnPullDownRefresh
* 处理手动调用下拉刷新函数this.onPullDownRefresh() --> uni.startPullDownRefresh() * uni-app是不允许调用生命周期函数,因此替换为uni.startPullDownRefresh(); * @param {*} $jsAst *
src/transformers/other/special-code-transformer.js:61
↓ 1 callersFunctiontransformThisDotProperties
* 处理this.properties = {a:1, b:2} 这种场景,作提示,需手动处理 * @param {*} $ast * @param {*} fileKey
src/utils/ggcUtils.js:294
↓ 1 callersFunctiontransformTriggerEvent
* triggerEvent 转换 * @param {*} $ast
src/transformers/function/triggerEvent-transformer.js:24
↓ 1 callersFunctiontransformTwoWayBinding
* 微信小程序的简易双向绑定 * @param {*} keyNode * @param {*} valueNode * @param {*} state * @returns
src/page/template/template-transformer.js:676
↓ 1 callersFunctiontransformTypescript
* ts处理 * 看看函数参数,如果没有声明类型,则给它加上any类型 * @param {*} $jsAst * @param {*} fileKey * @returns
src/transformers/typescript/typescript-transfromer.js:22
↓ 1 callersFunctiontransformUsingComponents
* 组件处理 * @param {*} $jsAst * @param {*} usingComponents
src/transformers/component/usingComponents-transformer.js:34
↓ 1 callersFunctiontransformVantComponent
* VantComponent 转换 * @param {*} $ast * @param {*} fileKey * @returns
src/page/script/vantComponent/vantComponent-transformer.js:57
↓ 1 callersFunctiontransformVantComponentAst
* VantComponent 转换 * @param {*} $ast * @param {*} fileKey * @returns
src/page/script/vantComponent/vantComponent-transformer.js:176
↓ 1 callersFunctiontransformVariable
* * 变量处理,总出口!!! * * @param {*} $jsAst * @param {*} $wxmlAst * @param {*} variableTypeInfo * @param {*} wxsModuleNameList * @param {*} fileKey
src/transformers/variable/variable-transformer.js:661
↓ 1 callersFunctiontransformVueCLI
* 处理vue-cli项目配置文件 * @param {*} configData 小程序配置数据 * @param {*} outputFolder 输出目录
src/transformers/project/vue-cli-transformer.js:23
↓ 1 callersFunctiontransformWeUIScript
* 提取webpack打包后的weui里面的组件内容 * @param {*} $jsAst * @returns
src/transformers/component/weui-transformer.js:111
↓ 1 callersFunctiontransformWxCloud
* 云函数转换 * @param {*} sourceFolder * @param {*} cloudfunctionRoot 云函数目录名 * @param {*} targetFolder * @param {*} options * @returns
src/transformers/cloud/cloud-transformer.js:169
↓ 1 callersFunctiontransformWxParse
* 处理WxParse组件 * @param {*} $jsAst * @param {*} $wxmlAst
src/transformers/component/wxParse-transformer.js:281
↓ 1 callersFunctiontransformWxParseTemplate
* 处理<template is="wxParse" data="{{ wxParseData:content.nodes }}"></template> * @param {*} $wxmlAst * @returns
src/transformers/component/wxParse-transformer.js:210
↓ 1 callersMethodtraverse
* AST树遍历方法 * @param astObject * @returns {*}
src/page/script/JavascriptParser.js:61
↓ 1 callersFunctionuiPolyfill
* 界面相关
src/project/template/polyfill/polyfill.js:368
↓ 1 callersFunctionunaryExpressionHandle
* 逻辑变量展开 * !0 ==> true; !1 ==> false * @param {*} ast
src/utils/restoreJSUtils.js:458
↓ 1 callersFunctionunsupportedFunctionHandle
* 对vue不支持的函数命名方式进行处理 * vue不支持使用_和$开头作为函数名 * @param {*} $jsAst * @param {*} $wxmlAst
src/transformers/variable/variable-transformer.js:468
↓ 1 callersFunctionunsupportedVariableHandle
* 对vue不支持的变量命名方式进行处理 * vue不支持使用_和$开头作为变量名 * @param {*} $jsAst * @param {*} $wxmlAst
src/transformers/variable/variable-transformer.js:443
↓ 1 callersMethodvariableHandle
* 变量处理,须在template和include标签处理后再进行处理
src/page/index.js:390
↓ 1 callersFunctionwifiPolyfill
* wifi
src/project/template/polyfill/polyfill.js:799
Function$emit
(...args)
src/project/template/wxcomponents/vant/mixins/basic.js:3
Function'AssignmentExpression|VariableDeclarator'
(path)
src/utils/ast/visitorar.js:304
FunctionAssignmentExpression
(path)
src/utils/restoreJSUtils.js:743
FunctionBinaryExpression
(path)
src/utils/ast/visitorar.js:121
FunctionCallExpression
(path)
src/utils/ast/visitorar.js:527
FunctionCatchClause
(path)
src/utils/ast/visitorar.js:558
FunctionDebuggerStatement
(path)
src/utils/ast/visitorar.js:524
FunctionExpressionStatement
(path)
src/utils/restoreJSUtils.js:293
FunctionExpressionStatement
(path)
src/utils/ast/visitorar.js:101
FunctionForInStatement
(path)
src/utils/restoreJSUtils.js:275
FunctionForInStatement
(path)
src/utils/ast/visitorar.js:647
FunctionForOfStatement
(path)
src/utils/restoreJSUtils.js:284
FunctionForOfStatement
(path)
src/utils/ast/visitorar.js:656
FunctionForStatement
(path)
src/utils/restoreJSUtils.js:266
FunctionForStatement
(path)
src/utils/ast/visitorar.js:638
FunctionFunctionDeclaration
(path)
src/utils/ast/visitorar.js:341
FunctionFunctionExpression
(path)
src/utils/restoreJSUtils.js:616
FunctionIdentifier
(path)
src/utils/ast/visitorar.js:541
FunctionIfStatement
(path)
src/utils/restoreJSUtils.js:210
FunctionIfStatement
(path)
src/utils/ast/visitorar.js:361
FunctionLexer
* @description html 词法分析器 * @param {Object} handler 高层处理器
src/project/template/uni_modules/mp-html/components/mp-html/parser.js:1137
FunctionLogicalExpression
(path)
src/utils/restoreJSUtils.js:507
FunctionMemberExpression
(path)
src/utils/ast/visitorar.js:16
FunctionNewExpression
(path)
src/utils/restoreJSUtils.js:843
FunctionNotify
(options)
src/project/template/wxcomponents/vant/notify/notify.js:21
FunctionNumericLiteral
({ node })
src/utils/restoreJSUtils.js:479
FunctionNumericLiteral
({ node })
src/utils/ast/visitorar.js:501
FunctionObjectProperty
(path)
src/utils/restoreJSUtils.js:585
FunctionObjectProperty
(path)
src/utils/ast/visitorar.js:23
FunctionParser
* @description html 解析器 * @param {Object} vm 组件实例
src/project/template/uni_modules/mp-html/components/mp-html/parser.js:165
FunctionProgram
(path)
src/utils/restoreJSUtils.js:807
FunctionProgram
(path)
src/utils/babelUtils.js:36
FunctionReturnStatement
(path)
src/utils/restoreJSUtils.js:391
FunctionReturnStatement
(path)
src/utils/ast/visitorar.js:681
FunctionSequenceExpression
(path)
src/utils/restoreJSUtils.js:1031
FunctionSequenceExpression
(path, state)
src/utils/ast/visitorar.js:835
FunctionStringLiteral
({ node })
src/utils/restoreJSUtils.js:485
FunctionStringLiteral
({ node })
src/utils/ast/visitorar.js:507
FunctionSwitchStatement
(path)
src/utils/ast/visitorar.js:203
FunctionUnaryExpression
(path)
src/utils/restoreJSUtils.js:460
FunctionUnaryExpression
(path)
src/utils/ast/visitorar.js:145
FunctionVariableDeclaration
(path)
src/utils/restoreJSUtils.js:341
FunctionVariableDeclaration
(path)
src/utils/ast/visitorar.js:75
FunctionVariableDeclarator
(path)
src/utils/restoreJSUtils.js:660
FunctionVariableDeclarator
(path)
src/utils/babelUtils.js:47
FunctionVariableDeclarator
(path)
src/utils/ast/visitorar.js:332
Function[idName]
(nv, ov)
src/project/template/uni_modules/p-f-unicom/index.js:211
Function_
()
src/project/template/uni_modules/mp-html/static/app-plus/mp-html/js/uni.webview.min.js:1
FunctionaddCatchLog
()
src/utils/ast/visitorar.js:555
FunctionaddComments
* 给关键代码|标识符 添加注释 TOLOOK
src/utils/ast/visitorar.js:519
FunctionaddReplaceTag
* 添加替换的标记 * @param {*} code * @param {*} name * @returns
src/utils/restoreJSUtils.js:135
FunctionaddWatchHandlerItem
* 将observers改造成handler引用方式,并添加到watch里 * * @param {*} $jsAst * @param {*} watchList * @param {*} propItemName * @param {*} propType * @param {*}
src/utils/ggcUtils.js:799
FunctionadjustIndex
(index)
src/project/template/wxcomponents/vant/picker-column/index.js:72
FunctionarrayBufferToBase64
* ArrayBuffer转base64
src/project/template/polyfill/base64Binary.js:82
FunctionarrayToObject
* 将ast属性数组组合为ast对象 * @param {*} pathAry
src/utils/babelUtils.js:24
Functionattached
()
src/project/template/wxcomponents/vant/mixins/transition.js:35
Functionbase64ToArrayBuffer
* base64转ArrayBuffer
src/project/template/polyfill/base64Binary.js:69
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/dropdown-menu/index.js:55
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/collapse/index.js:27
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/sidebar/index.js:22
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/picker/index.js:25
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/grid/index.js:44
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/tabbar/index.js:46
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/goods-action/index.js:13
FunctionbeforeCreate
()
src/project/template/wxcomponents/vant/tabs/index.js:107
FunctionbeforeCreate
()
src/project/template/uni_modules/p-f-unicom/index.js:222
FunctionbindContact
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:9
FunctionbindError
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:15
FunctionbindGetPhoneNumber
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:12
FunctionbindGetUserInfo
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:6
FunctionbindLaunchApp
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:18
FunctionbindOpenSetting
(event)
src/project/template/wxcomponents/vant/mixins/open-type.js:21
FunctionbracketsJudge
* 判断字符串里面的括号是否成对 * 所有括号配置成功返回true * https://blog.csdn.net/shijue98/article/details/106250008 * @param {*} str
src/utils/utils.js:403
FunctionbuttonSize
()
src/project/template/wxcomponents/vant/stepper/index.js:63
FunctioncacheImportComponentList
* 保存所有页面引入的外部组件 * @param {*} jsFile * @param {*} wxmlFile * @param {*} usingComponents
src/utils/pathUtils.js:229
FunctioncalcBinary
* 计算二项式字面量 * 1 + 2 "debu" + "gger" * | * | * V * 3 "debugger"
src/utils/ast/visitorar.js:118
FunctioncalcBoolean
* 计算布尔值 * !![] ![] * | * | * V * true false
src/utils/ast/visitorar.js:142
← previousnext →301–400 of 897, ranked by callers