diff options
Diffstat (limited to 'tests/snippets/idris/test_reserved_word.txt')
-rw-r--r-- | tests/snippets/idris/test_reserved_word.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/snippets/idris/test_reserved_word.txt b/tests/snippets/idris/test_reserved_word.txt new file mode 100644 index 0000000..636bc16 --- /dev/null +++ b/tests/snippets/idris/test_reserved_word.txt @@ -0,0 +1,29 @@ +---input--- +namespace Foobar + links : String + links = "abc" + +---tokens--- +'namespace' Keyword.Reserved +' ' Text.Whitespace +'Foobar' Keyword.Type +'\n' Text.Whitespace + +' ' Text.Whitespace +'links' Name.Function +' ' Text.Whitespace +':' Operator.Word +' ' Text.Whitespace +'String' Keyword.Type +'\n' Text.Whitespace + +' ' Text.Whitespace +' ' Text.Whitespace +'links' Text +' ' Text.Whitespace +'=' Operator.Word +' ' Text.Whitespace +'"' Literal.String +'abc' Literal.String +'"' Literal.String +'\n' Text.Whitespace |