mevento 1.2.2 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/mevento.mjs +24 -21
- package/fesm2015/mevento.mjs +23 -20
- package/fesm2015/mevento.mjs.map +1 -1
- package/fesm2020/mevento.mjs +23 -20
- package/fesm2020/mevento.mjs.map +1 -1
- package/lib/mevento.d.ts +21 -1
- package/package.json +1 -1
package/lib/mevento.d.ts
CHANGED
|
@@ -201,7 +201,28 @@ declare abstract class ANodeVisitor {
|
|
|
201
201
|
abstract visit(node: AST): any;
|
|
202
202
|
}
|
|
203
203
|
export declare abstract class NodeVisitor extends ANodeVisitor {
|
|
204
|
+
constructor();
|
|
204
205
|
visit(node: AST): any;
|
|
206
|
+
assignProperty(owner: any, property: any, value: any): any;
|
|
207
|
+
protected abstract visitRootAST(node: RootAST): any;
|
|
208
|
+
protected abstract visitBlockStatementAST(node: BlockStatementAST): any;
|
|
209
|
+
protected abstract visitIdentifierAST(node: IdentifierAST): any;
|
|
210
|
+
protected abstract visitLiteralAST(node: AST): any;
|
|
211
|
+
protected abstract visitAssignmentExpressionAST(node: AssignmentExpressionAST): any;
|
|
212
|
+
protected abstract visitExpressionStatementAST(node: ExpressionStatementAST): any;
|
|
213
|
+
protected abstract visitCallExpressionAST(node: CallExpressionAST): any;
|
|
214
|
+
protected abstract visitBinaryExpressionAST(node: BinaryExpressionAST): any;
|
|
215
|
+
protected abstract visitUnaryExpressionAST(node: UnaryExpressionAST): any;
|
|
216
|
+
protected abstract visitIfStatementAST(node: IfStatementAST): any;
|
|
217
|
+
protected abstract visitLogicalExpressionAST(node: LogicalExpressionAST): any;
|
|
218
|
+
protected abstract visitIndexAccessorAST(node: IndexAccessorAST): any;
|
|
219
|
+
protected abstract visitObjectProperty(node: AST): any;
|
|
220
|
+
protected abstract visitObjectExpression(ast: AST): any;
|
|
221
|
+
protected abstract visitArrayExpression(ast: AST): any;
|
|
222
|
+
protected abstract visitBreakAST(node: BreakAST): any;
|
|
223
|
+
protected abstract visitWhileLoopStatement(node: WhileLoopStatement): any;
|
|
224
|
+
protected abstract visitForLoopStatement(node: ForLoopStatement): any;
|
|
225
|
+
protected abstract visitForOfStatement(node: ForOfStatement): any;
|
|
205
226
|
}
|
|
206
227
|
export declare type MEventoFBinding = (args: any[], vm: MEvento) => any;
|
|
207
228
|
export declare class MEvento extends NodeVisitor {
|
|
@@ -221,7 +242,6 @@ export declare class MEvento extends NodeVisitor {
|
|
|
221
242
|
protected visitIdentifierAST(node: IdentifierAST): any;
|
|
222
243
|
protected visitLiteralAST(node: AST): any;
|
|
223
244
|
protected visitAssignmentExpressionAST(node: AssignmentExpressionAST): any;
|
|
224
|
-
assignProperty(owner: any, property: any, value: any): any;
|
|
225
245
|
protected visitExpressionStatementAST(node: ExpressionStatementAST): any;
|
|
226
246
|
protected visitCallExpressionAST(node: CallExpressionAST): any;
|
|
227
247
|
protected visitBinaryExpressionAST(node: BinaryExpressionAST): any;
|