1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

test spread parameter

This commit is contained in:
Ayman Nadeem 2018-07-24 17:47:52 -04:00
parent 32d6af0e9d
commit 562beec816
6 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,4 @@
class Dinosaur {
Disposable(int ...resources) {
}
}

View File

@ -0,0 +1,12 @@
(Statements
(Class
(Identifier)
(Statements
(Constructor
(Identifier)
(SpreadParameter
(Variable
{ (Identifier)
->(Int) }
(Identifier)))
(Statements)))))

View File

@ -0,0 +1,12 @@
(Statements
(Class
(Identifier)
(Statements
(Constructor
(Identifier)
(SpreadParameter
(Variable
{ (Int)
->(Identifier) }
(Identifier)))
(Statements)))))

View File

@ -0,0 +1,11 @@
(Statements
(Class
(Identifier)
(Statements
(Constructor
(Identifier)
(SpreadParameter
(Variable
(Identifier)
(Identifier)))
(Statements)))))

View File

@ -0,0 +1,11 @@
(Statements
(Class
(Identifier)
(Statements
(Constructor
(Identifier)
(SpreadParameter
(Variable
(Int)
(Identifier)))
(Statements)))))