Debian Codegraph @

tests/snippets/elpi/test_namespace.txt

raw
1 ---input---
2 namespace foo.bar {
3 baz :- std.do! [].
4 }
5 shorten foo. { bar }.
6
7 ---tokens---
8 'namespace' Keyword.Declaration
9 ' ' Text.Whitespace
10 'foo.bar' Text
11 ' ' Text.Whitespace
12 '{\n' Text
13
14 ' ' Text.Whitespace
15 'baz' Text
16 ' ' Text.Whitespace
17 ':-' Keyword.Declaration
18 ' ' Text.Whitespace
19 'std.do!' Text
20 ' ' Text.Whitespace
21 '[]' Keyword.Declaration
22 '.' Operator
23 '\n' Text.Whitespace
24
25 '}\n' Text
26
27 'shorten' Keyword.Declaration
28 ' ' Text.Whitespace
29 'foo.' Text
30 ' ' Text.Whitespace
31 '{ ' Text
32 'bar' Text
33 ' ' Text.Whitespace
34 '}.' Text
35 '\n' Text.Whitespace