aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 02:14:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-12 02:14:49 +0800
commite0c0584c593e3d948652c1cb58f39042c5b8f488 (patch)
treebeb4f4d9854b3d7bdb99347af9d1d4f56d1b9c7a
parent7e5866ce3fffc67633d3ab84cc3d2a6abdd22ce5 (diff)
downloaddexon-sol-tools-e0c0584c593e3d948652c1cb58f39042c5b8f488.tar.gz
dexon-sol-tools-e0c0584c593e3d948652c1cb58f39042c5b8f488.tar.zst
dexon-sol-tools-e0c0584c593e3d948652c1cb58f39042c5b8f488.zip
Add EmitStatement to ASTVisitor
-rw-r--r--packages/sol-cov/src/ast_visitor.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/sol-cov/src/ast_visitor.ts b/packages/sol-cov/src/ast_visitor.ts
index 88309d3eb..16984b5ec 100644
--- a/packages/sol-cov/src/ast_visitor.ts
+++ b/packages/sol-cov/src/ast_visitor.ts
@@ -57,6 +57,9 @@ export class ASTVisitor {
public ContinueStatement(ast: Parser.ContinueStatement): void {
this._visitStatement(ast);
}
+ public EmitStatement(ast: any /* TODO: Parser.EmitStatement */): void {
+ this._visitStatement(ast);
+ }
public VariableDeclarationStatement(ast: Parser.VariableDeclarationStatement): void {
this._visitStatement(ast);
}