Module @music163/tango-core - v1.4.4

core

搭建引擎

import { createEngine } from '@music163/tango-core';

const engine = createEngine();

Index

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

addClassProperty addImportDeclaration addImportDeclarationLegacy addRouteToRouteFile addStoreState addStoreToEntryFile appendChildToJSXElement ast2code cloneJSXElement code2ast code2expression code2jsxAttributeValueNode code2value createEngine deepCloneNode deleteServiceConfigFromServiceFile expression2code expressionCode2ast formatCode generator getBlockNameByFilename getFilepath getFullPath getImportDeclarationPayloadByPrototype getJSXElementAttributes getJSXElementChildrenNames getModuleNameByFilename getPrivilegeCode getRelativePath inferFileType insertImportSpecifiers insertSiblingAfterJSXElement insertSiblingBeforeJSXElement isDefineService isDefineStore isFilepath isJSXElementById isPathnameMatchRoute isTangoVariable isValidCode isValidComponentName isValidExpressionCode isWrappedByExpressionContainer jsxAttributeValueNode2value keyNode2value makeImportDeclaration makeImportDeclarationLegacy makeJSXAttribute makeJSXAttributeByCode makeJSXAttributes makeJSXElement namesToImportDeclarations node2code node2value object2node parse parseExpression propDataToKeyValueString prototype2code prototype2importDeclarationData prototype2jsxElement queryXFormItemFields removeJSXElement removeRouteFromRouteFile removeStoreState removeStoreToEntryFile removeUnusedImportSpecifiers replaceJSXElement replaceRootJSXElementChildren serviceConfig2Node traverse traverseComponentsEntryFile traverseEntryFile traverseExpressionNode traverseFile traverseRouteFile traverseServiceFile traverseStoreEntryFile traverseStoreFile traverseViewFile updateBaseConfigToServiceFile updateClassProperty updateImportDeclaration updateImportDeclarationLegacy updateJSXAttributes updateJSXElementAttribute updateRouteToRouteFile updateServiceConfigToServiceFile updateStoreState value2code value2expressionCode value2jsxAttributeValueNode value2jsxChildrenValueNode value2node