Commit 64cacae
committed
Expose a C method to parse type parameters.
This is useful to parse a "class signature" such as this:
```rb
\#: [in A, B = String, out < Object]
class Foo; end
```
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>1 parent f032275 commit 64cacae
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3258 | 3258 | | |
3259 | 3259 | | |
3260 | 3260 | | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
3261 | 3274 | | |
3262 | 3275 | | |
3263 | 3276 | | |
| |||
0 commit comments