Add binary expression
This commit is contained in:
parent
5489bd5380
commit
25924c3c5c
5 changed files with 1259 additions and 934 deletions
|
|
@ -344,3 +344,27 @@ foo = {
|
|||
(identifier)
|
||||
(map_expression
|
||||
(ERROR))))
|
||||
|
||||
================================================================================
|
||||
Binary operators
|
||||
================================================================================
|
||||
|
||||
foo = [
|
||||
-12 + -27 + 42,
|
||||
"a" + "b",
|
||||
]
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(source_file
|
||||
(assignment
|
||||
(identifier)
|
||||
(list_expression
|
||||
(binary_expression
|
||||
(binary_expression
|
||||
(integer_literal)
|
||||
(integer_literal))
|
||||
(integer_literal))
|
||||
(binary_expression
|
||||
(interpreted_string_literal)
|
||||
(interpreted_string_literal)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue