feat(compiler): generate patchFlags for runtime

This commit is contained in:
Evan You
2019-09-30 21:17:12 -04:00
parent da0d785d84
commit d67418002f
19 changed files with 267 additions and 70 deletions

View File

@@ -169,7 +169,7 @@ export type JSChildNode =
export interface CallExpression extends Node {
type: NodeTypes.JS_CALL_EXPRESSION
callee: string | ExpressionNode
callee: string
arguments: (string | JSChildNode | ChildNode[])[]
}
@@ -268,7 +268,7 @@ export function createCompoundExpression(
}
export function createCallExpression(
callee: string | ExpressionNode,
callee: string,
args: CallExpression['arguments'],
loc: SourceLocation
): CallExpression {