2019-12-14 02:22:15 +08:00
|
|
|
export { baseCompile } from './compile'
|
2019-09-21 00:16:19 +08:00
|
|
|
|
|
|
|
// Also expose lower level APIs & types
|
2019-12-11 01:53:26 +08:00
|
|
|
export {
|
|
|
|
CompilerOptions,
|
|
|
|
ParserOptions,
|
|
|
|
TransformOptions,
|
2020-02-13 00:56:42 +08:00
|
|
|
CodegenOptions,
|
2020-07-11 10:12:25 +08:00
|
|
|
HoistTransform,
|
2020-11-13 13:12:04 +08:00
|
|
|
BindingMetadata,
|
|
|
|
BindingTypes
|
2019-12-11 01:53:26 +08:00
|
|
|
} from './options'
|
2019-12-23 08:44:21 +08:00
|
|
|
export { baseParse, TextModes } from './parse'
|
2019-09-20 12:12:37 +08:00
|
|
|
export {
|
|
|
|
transform,
|
2019-09-22 03:47:26 +08:00
|
|
|
TransformContext,
|
2020-02-08 02:56:18 +08:00
|
|
|
createTransformContext,
|
|
|
|
traverseNode,
|
2020-02-07 14:06:51 +08:00
|
|
|
createStructuralDirectiveTransform,
|
2019-09-26 02:13:33 +08:00
|
|
|
NodeTransform,
|
2019-10-09 03:35:57 +08:00
|
|
|
StructuralDirectiveTransform,
|
|
|
|
DirectiveTransform
|
2019-09-20 12:12:37 +08:00
|
|
|
} from './transform'
|
2019-12-11 01:53:26 +08:00
|
|
|
export { generate, CodegenContext, CodegenResult } from './codegen'
|
2019-10-09 23:13:13 +08:00
|
|
|
export {
|
|
|
|
ErrorCodes,
|
|
|
|
CoreCompilerError,
|
|
|
|
CompilerError,
|
|
|
|
createCompilerError
|
|
|
|
} from './errors'
|
2020-02-07 14:06:51 +08:00
|
|
|
|
2019-09-17 02:43:29 +08:00
|
|
|
export * from './ast'
|
2019-10-11 06:02:51 +08:00
|
|
|
export * from './utils'
|
2021-08-23 02:51:16 +08:00
|
|
|
export * from './babelUtils'
|
2020-02-07 14:06:51 +08:00
|
|
|
export * from './runtimeHelpers'
|
2019-10-11 06:02:51 +08:00
|
|
|
|
2020-02-07 14:06:51 +08:00
|
|
|
export { getBaseTransformPreset, TransformPreset } from './compile'
|
2019-10-11 06:02:51 +08:00
|
|
|
export { transformModel } from './transforms/vModel'
|
|
|
|
export { transformOn } from './transforms/vOn'
|
2020-02-05 05:47:12 +08:00
|
|
|
export { transformBind } from './transforms/vBind'
|
2020-02-07 14:06:51 +08:00
|
|
|
export { noopDirectiveTransform } from './transforms/noopDirectiveTransform'
|
2020-02-06 10:04:40 +08:00
|
|
|
export { processIf } from './transforms/vIf'
|
|
|
|
export { processFor, createForLoopParams } from './transforms/vFor'
|
2020-02-04 04:51:41 +08:00
|
|
|
export {
|
|
|
|
transformExpression,
|
|
|
|
processExpression
|
|
|
|
} from './transforms/transformExpression'
|
2020-02-07 01:07:25 +08:00
|
|
|
export {
|
|
|
|
buildSlots,
|
|
|
|
SlotFnBuilder,
|
|
|
|
trackVForSlotScopes,
|
|
|
|
trackSlotScopes
|
|
|
|
} from './transforms/vSlot'
|
2020-04-15 22:51:07 +08:00
|
|
|
export {
|
|
|
|
transformElement,
|
|
|
|
resolveComponentType,
|
|
|
|
buildProps
|
|
|
|
} from './transforms/transformElement'
|
2020-02-06 10:04:40 +08:00
|
|
|
export { processSlotOutlet } from './transforms/transformSlotOutlet'
|
2020-03-01 11:04:42 +08:00
|
|
|
export { generateCodeFrame } from '@vue/shared'
|
2021-04-13 07:42:09 +08:00
|
|
|
|
|
|
|
// v2 compat only
|
|
|
|
export {
|
|
|
|
checkCompatEnabled,
|
|
|
|
warnDeprecation,
|
|
|
|
CompilerDeprecationTypes
|
|
|
|
} from './compat/compatConfig'
|