|
1948 | 1948 | \\s*
|
1949 | 1949 | (?:
|
1950 | 1950 | (?:
|
1951 |
| - \\? | # {function(?string)} nullable type |
1952 |
| - ! | # {function(!string)} non-nullable type |
1953 |
| - )? |
1954 |
| - [a-zA-Z_$][\\w$]+ |
1955 |
| - (?:\\[\\])? # {function(string[])} type application, an array of strings |
1956 |
| - (?: |
1957 |
| - \\s*,\\s* |
1958 | 1951 | (?:
|
| 1952 | + \\? | # {function(?string)} nullable type |
| 1953 | + ! # {function(!string)} non-nullable type |
| 1954 | + )? |
| 1955 | + [a-zA-Z_$][\\w$]+ |
| 1956 | + (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 1957 | + (?: |
| 1958 | + \\s*,\\s* |
1959 | 1959 | (?:
|
1960 | 1960 | (?:
|
1961 |
| - \\? | # {function(string, ?string)} nullable type |
1962 |
| - ! | # {function(string, !string)} non-nullable type |
1963 |
| - )? |
1964 |
| - [a-zA-Z_$][\\w$]+ |
1965 |
| - (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 1961 | + (?: |
| 1962 | + \\? | # {function(string, ?string)} nullable type |
| 1963 | + ! # {function(string, !string)} non-nullable type |
| 1964 | + )? |
| 1965 | + [a-zA-Z_$][\\w$]+ |
| 1966 | + (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 1967 | + ) |
1966 | 1968 | )
|
1967 |
| - | |
1968 |
| - (?: |
1969 |
| - \\.{3}[a-zA-Z_$][\\w$]+ # {function(string, ...string)} variable number of parameters |
1970 |
| - ) |
1971 |
| - ) |
1972 |
| - )* |
1973 |
| - =? # {function(string=)} optional parameter |
1974 |
| - )* |
| 1969 | + )* |
| 1970 | + =? # {function(string=)} optional parameter |
| 1971 | + )+ |
| 1972 | + (?: |
| 1973 | + \\s*,\\s* |
| 1974 | + \\.{3}[a-zA-Z_$][\\w$]+ # {function(string, ...string)} variable number of parameters |
| 1975 | + )? |
| 1976 | + )? |
1975 | 1977 | \\s*
|
1976 | 1978 | \\)
|
1977 | 1979 | )
|
|
2101 | 2103 | \\s*
|
2102 | 2104 | (?:
|
2103 | 2105 | (?:
|
2104 |
| - \\? | # {function(?string)} nullable type |
2105 |
| - ! | # {function(!string)} non-nullable type |
2106 |
| - )? |
2107 |
| - [a-zA-Z_$][\\w$]+ |
2108 |
| - (?:\\[\\])? # {function(string[])} type application, an array of strings |
2109 |
| - (?: |
2110 |
| - \\s*,\\s* |
2111 | 2106 | (?:
|
| 2107 | + \\? | # {function(?string)} nullable type |
| 2108 | + ! # {function(!string)} non-nullable type |
| 2109 | + )? |
| 2110 | + [a-zA-Z_$][\\w$]+ |
| 2111 | + (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 2112 | + (?: |
| 2113 | + \\s*,\\s* |
2112 | 2114 | (?:
|
2113 | 2115 | (?:
|
2114 |
| - \\? | # {function(string, ?string)} nullable type |
2115 |
| - ! | # {function(string, !string)} non-nullable type |
2116 |
| - )? |
2117 |
| - [a-zA-Z_$][\\w$]+ |
2118 |
| - (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 2116 | + (?: |
| 2117 | + \\? | # {function(string, ?string)} nullable type |
| 2118 | + ! # {function(string, !string)} non-nullable type |
| 2119 | + )? |
| 2120 | + [a-zA-Z_$][\\w$]+ |
| 2121 | + (?:\\[\\])? # {function(string[])} type application, an array of strings |
| 2122 | + ) |
2119 | 2123 | )
|
2120 |
| - | |
2121 |
| - (?: |
2122 |
| - \\.{3}[a-zA-Z_$][\\w$]+ # {function(string, ...string)} variable number of parameters |
2123 |
| - ) |
2124 |
| - ) |
2125 |
| - )* |
2126 |
| - =? # {function(string=)} optional parameter |
2127 |
| - )* |
| 2124 | + )* |
| 2125 | + =? # {function(string=)} optional parameter |
| 2126 | + )+ |
| 2127 | + (?: |
| 2128 | + \\s*,\\s* |
| 2129 | + \\.{3}[a-zA-Z_$][\\w$]+ # {function(string, ...string)} variable number of parameters |
| 2130 | + )? |
| 2131 | + )? |
2128 | 2132 | \\s*
|
2129 | 2133 | \\)
|
2130 | 2134 | )
|
|
0 commit comments