You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
1.0 KiB
17 lines
1.0 KiB
6 months ago
|
import { BinaryExpression } from '@babel/types';
|
||
|
import { ComponentNode, CompoundExpressionNode, DirectiveNode } from '@vue/compiler-core';
|
||
|
import { CodegenScope, CodegenVForScope } from '../options';
|
||
|
import { NodeTransform, TransformContext } from '../transform';
|
||
|
export declare const transformSlot: NodeTransform;
|
||
|
export declare function rewriteVSlot(dir: DirectiveNode, context: TransformContext): void;
|
||
|
export declare function findSlotName(slotDir: DirectiveNode): string | CompoundExpressionNode;
|
||
|
export declare function findCurrentPath(id: string, scope: CodegenScope): BinaryExpression | import("@babel/types").StringLiteral;
|
||
|
/**
|
||
|
* 目前无用
|
||
|
* @param vForScope
|
||
|
* @param parentScope
|
||
|
* @param context
|
||
|
*/
|
||
|
export declare function rewriteScopedSlotVForScope(vForScope: CodegenVForScope, parentScope: CodegenScope, context: TransformContext): void;
|
||
|
export declare function createVSlotCallExpression(slotComponent: ComponentNode, vForScope: CodegenVForScope, context: TransformContext): import("@babel/types").CallExpression;
|