diff --git a/docs/ast.md b/docs/ast.md index 27bc63ad..11cd8b3f 100644 --- a/docs/ast.md +++ b/docs/ast.md @@ -109,6 +109,18 @@ interface VSlotScopeExpression <: Expression { type: "VSlotScopeExpression" id: Pattern } + +interface VFilterSequenceExpression <: Expression { + type: "VFilterSequenceExpression" + expression: Expression + filters: [ VFilter ] +} + +interface VFilter <: Node { + type: "VFilter" + callee: Identifier + arguments: [ Expression ] +} ``` - This is mustaches or directive values. @@ -119,6 +131,7 @@ interface VSlotScopeExpression <: Expression { - `VForExpression` is an expression node like [ForInStatement] but it has an array as `left` property and does not have `body` property. This is the value of [`v-for` directives]. - `VOnExpression` is an expression node like [BlockStatement] but it does not have braces. This is the value of [`v-on` directives] only if the `v-on` directive doesn't have that argument. - `VSlotScopeExpression` is an expression node like [VariableDeclarator]. This is the value of [`slot-scope` attribute] or the `scope` attribute of `