C#: Implement QL model for using declarations, introducing UsingBlockStmt and a UsingDeclStmt.

This commit is contained in:
Calum Grant
2019-05-24 10:45:54 +01:00
parent 15cd1d274a
commit 923fbe4c9e
7 changed files with 104 additions and 10 deletions

View File

@@ -798,7 +798,7 @@ case @stmt.kind of
| 18 = @checked_stmt
| 19 = @unchecked_stmt
| 20 = @lock_stmt
| 21 = @using_stmt
| 21 = @using_block_stmt
| 22 = @var_decl_stmt
| 23 = @const_decl_stmt
| 24 = @empty_stmt
@@ -811,6 +811,8 @@ case @stmt.kind of
| 31 = @using_decl_stmt
;
@using_stmt = @using_block_stmt | @using_decl_stmt;
@labeled_stmt = @label_stmt | @case;
@decl_stmt = @var_decl_stmt | @const_decl_stmt | @using_decl_stmt;