How to use the jSXMemberExpression function from babel-types
Find comprehensive JavaScript babel-types.jSXMemberExpression code examples handpicked from public code repositorys.
GitHub: astrocean/taro-cli-2.0.6
950 951 952 953 954 955 956 957 958 959
const tagName = astConvert_1.convertAstExpressionToVariable(node.name); const componentName = componentnameMap.get(tagName); const componentId = getComponentId(componentName, node); const componentRef = getComponentRef(node); if (tagName === BLOCK_TAG_NAME) { node.name = t.jSXMemberExpression(t.jSXIdentifier('Nerv'), t.jSXIdentifier('Fragment')); } if (!componentId) return; const refFunc = createRefFunc(componentId);
0
0
0
+ 23 other calls in file
babel-types.identifier is the most popular function in babel-types (4076 examples)