| 1 |
---input--- |
| 2 |
pred p1. |
| 3 |
pred p2 i:int, o:list A. |
| 4 |
pred p3 i:(bool -> prop). |
| 5 |
:index(_ 2) pred p4 i:int, i:A. |
| 6 |
|
| 7 |
---tokens--- |
| 8 |
'pred' Keyword.Declaration |
| 9 |
' ' Text.Whitespace |
| 10 |
'p1' Name.Function |
| 11 |
'.' Text |
| 12 |
'\n' Text.Whitespace |
| 13 |
|
| 14 |
'pred' Keyword.Declaration |
| 15 |
' ' Text.Whitespace |
| 16 |
'p2' Name.Function |
| 17 |
' ' Text.Whitespace |
| 18 |
'i:' Keyword.Mode |
| 19 |
'int' Keyword.Type |
| 20 |
',' Keyword.Mode |
| 21 |
' ' Text.Whitespace |
| 22 |
'o:' Keyword.Mode |
| 23 |
'list' Keyword.Type |
| 24 |
' ' Text.Whitespace |
| 25 |
'A' Keyword.Type |
| 26 |
'.' Text |
| 27 |
'\n' Text.Whitespace |
| 28 |
|
| 29 |
'pred' Keyword.Declaration |
| 30 |
' ' Text.Whitespace |
| 31 |
'p3' Name.Function |
| 32 |
' ' Text.Whitespace |
| 33 |
'i:' Keyword.Mode |
| 34 |
'(' Keyword.Type |
| 35 |
'bool' Keyword.Type |
| 36 |
' ' Text.Whitespace |
| 37 |
'->' Keyword.Type |
| 38 |
' ' Text.Whitespace |
| 39 |
'prop' Keyword.Type |
| 40 |
')' Keyword.Type |
| 41 |
'.' Text |
| 42 |
'\n' Text.Whitespace |
| 43 |
|
| 44 |
':index' Keyword.Mode |
| 45 |
'(' Punctuation |
| 46 |
'_ 2' Literal.Number.Integer |
| 47 |
')' Punctuation |
| 48 |
' ' Text.Whitespace |
| 49 |
'pred' Keyword.Declaration |
| 50 |
' ' Text.Whitespace |
| 51 |
'p4' Name.Function |
| 52 |
' ' Text.Whitespace |
| 53 |
'i:' Keyword.Mode |
| 54 |
'int' Keyword.Type |
| 55 |
',' Keyword.Mode |
| 56 |
' ' Text.Whitespace |
| 57 |
'i:' Keyword.Mode |
| 58 |
'A' Keyword.Type |
| 59 |
'.' Text |
| 60 |
'\n' Text.Whitespace |