60cf175d88
close #5304
70 lines
1.7 KiB
TypeScript
70 lines
1.7 KiB
TypeScript
export { baseCompile } from './compile'
|
|
|
|
// Also expose lower level APIs & types
|
|
export {
|
|
CompilerOptions,
|
|
ParserOptions,
|
|
TransformOptions,
|
|
CodegenOptions,
|
|
HoistTransform,
|
|
BindingMetadata,
|
|
BindingTypes
|
|
} from './options'
|
|
export { baseParse, TextModes } from './parse'
|
|
export {
|
|
transform,
|
|
TransformContext,
|
|
createTransformContext,
|
|
traverseNode,
|
|
createStructuralDirectiveTransform,
|
|
NodeTransform,
|
|
StructuralDirectiveTransform,
|
|
DirectiveTransform
|
|
} from './transform'
|
|
export { generate, CodegenContext, CodegenResult } from './codegen'
|
|
export {
|
|
ErrorCodes,
|
|
CoreCompilerError,
|
|
CompilerError,
|
|
createCompilerError
|
|
} from './errors'
|
|
|
|
export * from './ast'
|
|
export * from './utils'
|
|
export * from './babelUtils'
|
|
export * from './runtimeHelpers'
|
|
|
|
export { getBaseTransformPreset, TransformPreset } from './compile'
|
|
export { transformModel } from './transforms/vModel'
|
|
export { transformOn } from './transforms/vOn'
|
|
export { transformBind } from './transforms/vBind'
|
|
export { noopDirectiveTransform } from './transforms/noopDirectiveTransform'
|
|
export { processIf } from './transforms/vIf'
|
|
export { processFor, createForLoopParams } from './transforms/vFor'
|
|
export {
|
|
transformExpression,
|
|
processExpression
|
|
} from './transforms/transformExpression'
|
|
export {
|
|
buildSlots,
|
|
SlotFnBuilder,
|
|
trackVForSlotScopes,
|
|
trackSlotScopes
|
|
} from './transforms/vSlot'
|
|
export {
|
|
transformElement,
|
|
resolveComponentType,
|
|
buildProps,
|
|
buildDirectiveArgs,
|
|
PropsExpression
|
|
} from './transforms/transformElement'
|
|
export { processSlotOutlet } from './transforms/transformSlotOutlet'
|
|
export { generateCodeFrame } from '@vue/shared'
|
|
|
|
// v2 compat only
|
|
export {
|
|
checkCompatEnabled,
|
|
warnDeprecation,
|
|
CompilerDeprecationTypes
|
|
} from './compat/compatConfig'
|