[fine] Automatic rebase support for CST
This commit is contained in:
parent
1f6d7ec131
commit
26871aa9ae
6 changed files with 122 additions and 8 deletions
22
fine/tests/expression/arithmetic.fine
Normal file
22
fine/tests/expression/arithmetic.fine
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// concrete:
|
||||
// | File
|
||||
// | ExpressionStatement
|
||||
// | BinaryExpression
|
||||
// | BinaryExpression
|
||||
// | LiteralExpression
|
||||
// | Number:'"1"'
|
||||
// | Star:'"*"'
|
||||
// | LiteralExpression
|
||||
// | Number:'"2"'
|
||||
// | Plus:'"+"'
|
||||
// | BinaryExpression
|
||||
// | UnaryExpression
|
||||
// | Minus:'"-"'
|
||||
// | LiteralExpression
|
||||
// | Number:'"3"'
|
||||
// | Star:'"*"'
|
||||
// | LiteralExpression
|
||||
// | Number:'"4"'
|
||||
// | Semicolon:'";"'
|
||||
//
|
||||
1 * 2 + -3 * 4;
|
||||
Loading…
Add table
Add a link
Reference in a new issue