Add binary expression

This commit is contained in:
Bruno BELANYI 2024-04-08 02:12:22 +01:00
parent 5489bd5380
commit 25924c3c5c
5 changed files with 1259 additions and 934 deletions

View file

@ -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)))))