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`.
13 lines
182 B
Plaintext
13 lines
182 B
Plaintext
(Program
|
|
{+(Tuple
|
|
(Identifier)
|
|
(Identifier))+}
|
|
(Tuple
|
|
(Identifier)
|
|
(Identifier)
|
|
(Identifier))
|
|
{-(Tuple
|
|
(Identifier)
|
|
(Identifier))-}
|
|
{-((Identifier))-})
|