mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
82a703088d
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
15 lines
220 B
Plaintext
15 lines
220 B
Plaintext
(Program
|
|
{+(Tuple
|
|
(Identifier)
|
|
(Identifier)
|
|
(Identifier))+}
|
|
(Tuple
|
|
{-(Identifier)-}
|
|
(Identifier)
|
|
{+(Identifier)+})
|
|
{+((Identifier))+}
|
|
{-(Tuple
|
|
(Identifier)
|
|
(Identifier)
|
|
(Identifier))-})
|