feat: improved parsing and regression test suite
This commit is contained in:
parent
4ebdd3c66e
commit
619eb3b338
39 changed files with 1116 additions and 339 deletions
11
testing/regression/syntax/choice-branch-mixed.ink
Normal file
11
testing/regression/syntax/choice-branch-mixed.ink
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// RUN: %ink-compiler --stdin --compile-only --dump-ast < %s | FileCheck %s
|
||||
|
||||
// CHECK: File "<STDIN>"
|
||||
// CHECK-NEXT: `--BlockStmt <line:11, line:11>
|
||||
// CHECK-NEXT: `--ChoiceStmt <line:11, line:11>
|
||||
// CHECK-NEXT: `--ChoiceStarStmt <line:11, col:1:7>
|
||||
// CHECK-NEXT: `--ChoiceContentExpr <col:3, col:7>
|
||||
// CHECK-NEXT: |--ChoiceStartContentExpr `A` <col:3, col:4>
|
||||
// CHECK-NEXT: `--ChoiceInnerContentExpr `B` <col:6, col:7>
|
||||
|
||||
* A[]B
|
||||
Loading…
Add table
Add a link
Reference in a new issue