tests/snippets/gleam/test_punctuation.txt
raw| 1 | ---input--- |
| 2 | : |
| 3 | , |
| 4 | # |
| 5 | ! |
| 6 | = |
| 7 | == |
| 8 | != |
| 9 | | |
| 10 | || |
| 11 | && |
| 12 | << |
| 13 | >> |
| 14 | |> |
| 15 | . |
| 16 | -> |
| 17 | <- |
| 18 | .. |
| 19 | @ |
| 20 | {a + b} |
| 21 | {{a + b} * c} |
| 22 | concat(["never", "the", "less"]) |
| 23 | |
| 24 | ---tokens--- |
| 25 | ':' Punctuation |
| 26 | '\n' Text.Whitespace |
| 27 | |
| 28 | ',' Punctuation |
| 29 | '\n' Text.Whitespace |
| 30 | |
| 31 | '#' Punctuation |
| 32 | '\n' Text.Whitespace |
| 33 | |
| 34 | '!' Punctuation |
| 35 | '\n' Text.Whitespace |
| 36 | |
| 37 | '=' Punctuation |
| 38 | '\n' Text.Whitespace |
| 39 | |
| 40 | '==' Punctuation |
| 41 | '\n' Text.Whitespace |
| 42 | |
| 43 | '!=' Punctuation |
| 44 | '\n' Text.Whitespace |
| 45 | |
| 46 | '|' Punctuation |
| 47 | '\n' Text.Whitespace |
| 48 | |
| 49 | '||' Punctuation |
| 50 | '\n' Text.Whitespace |
| 51 | |
| 52 | '&&' Punctuation |
| 53 | '\n' Text.Whitespace |
| 54 | |
| 55 | '<<' Punctuation |
| 56 | '\n' Text.Whitespace |
| 57 | |
| 58 | '>>' Punctuation |
| 59 | '\n' Text.Whitespace |
| 60 | |
| 61 | '|>' Punctuation |
| 62 | '\n' Text.Whitespace |
| 63 | |
| 64 | '.' Punctuation |
| 65 | '\n' Text.Whitespace |
| 66 | |
| 67 | '->' Punctuation |
| 68 | '\n' Text.Whitespace |
| 69 | |
| 70 | '<-' Punctuation |
| 71 | '\n' Text.Whitespace |
| 72 | |
| 73 | '..' Punctuation |
| 74 | '\n' Text.Whitespace |
| 75 | |
| 76 | '@' Punctuation |
| 77 | '\n' Text.Whitespace |
| 78 | |
| 79 | '{' Punctuation |
| 80 | 'a' Name |
| 81 | ' ' Text.Whitespace |
| 82 | '+' Operator |
| 83 | ' ' Text.Whitespace |
| 84 | 'b' Name |
| 85 | '}' Punctuation |
| 86 | '\n' Text.Whitespace |
| 87 | |
| 88 | '{{' Punctuation |
| 89 | 'a' Name |
| 90 | ' ' Text.Whitespace |
| 91 | '+' Operator |
| 92 | ' ' Text.Whitespace |
| 93 | 'b' Name |
| 94 | '}' Punctuation |
| 95 | ' ' Text.Whitespace |
| 96 | '*' Operator |
| 97 | ' ' Text.Whitespace |
| 98 | 'c' Name |
| 99 | '}' Punctuation |
| 100 | '\n' Text.Whitespace |
| 101 | |
| 102 | 'concat' Name |
| 103 | '([' Punctuation |
| 104 | '"never"' Literal.String |
| 105 | ',' Punctuation |
| 106 | ' ' Text.Whitespace |
| 107 | '"the"' Literal.String |
| 108 | ',' Punctuation |
| 109 | ' ' Text.Whitespace |
| 110 | '"less"' Literal.String |
| 111 | '])' Punctuation |
| 112 | '\n' Text.Whitespace |