tests/languages/concurnas/function_feature.test
raw| 1 | def myfunc() => 12 |
| 2 | myfunc() |
| 3 | |
| 4 | ---------------------------------------------------- |
| 5 | |
| 6 | [ |
| 7 | ["keyword", "def"], |
| 8 | ["function", "myfunc"], |
| 9 | ["punctuation", "("], |
| 10 | ["punctuation", ")"], |
| 11 | ["operator", "=>"], |
| 12 | ["number", "12"], |
| 13 | |
| 14 | "\r\nmyfunc", |
| 15 | ["punctuation", "("], |
| 16 | ["punctuation", ")"] |
| 17 | ] |
| 18 | |
| 19 | ---------------------------------------------------- |
| 20 | |
| 21 | Checks for functions. |