Debian Codegraph @

tests/snippets/typst/nesting_10.txt

raw
1 ---input---
2 some text #{
3 // some comment
4 let c = [
5 inline content
6 - My List
7 - Item
8 - A/B/C
9
10 `some code` and #{
11 let a = 2
12 [a = $#a + 3$]
13 }
14 ]
15 let d = 42
16 d
17 }
18 $
19 5 / 6 + 4 &= 1 + 2 + 3 \
20 &= (3+4)/lambda
21 $
22
23 - A
24 - B
25 -C
26
27 ---tokens---
28 'some' Text
29 ' ' Text.Whitespace
30 'text' Text
31 ' ' Text.Whitespace
32 '#{' Punctuation
33 '\n ' Text.Whitespace
34 '// some comment' Comment.Single
35 '\n ' Text.Whitespace
36 'let' Keyword.Declaration
37 ' ' Text.Whitespace
38 'c' Name.Variable
39 ' ' Text.Whitespace
40 '=' Operator
41 ' ' Text.Whitespace
42 '[' Punctuation
43 '\n' Text.Whitespace
44
45 ' ' Text.Whitespace
46 'inline' Text
47 ' ' Text.Whitespace
48 'content' Text
49 '\n' Text.Whitespace
50
51 ' ' Text.Whitespace
52 '-' Punctuation
53 ' ' Text.Whitespace
54 'My' Text
55 ' ' Text.Whitespace
56 'List' Text
57 '\n' Text.Whitespace
58
59 ' ' Text.Whitespace
60 '-' Punctuation
61 ' ' Text.Whitespace
62 'Item' Text
63 '\n' Text.Whitespace
64
65 ' ' Text.Whitespace
66 '-' Punctuation
67 ' ' Text.Whitespace
68 'A/B/C' Text
69 '\n' Text.Whitespace
70
71 ' \n' Text.Whitespace
72
73 ' ' Text.Whitespace
74 '`some code`' Literal.String.Backtick
75 ' ' Text.Whitespace
76 'and' Text
77 ' ' Text.Whitespace
78 '#{' Punctuation
79 '\n ' Text.Whitespace
80 'let' Keyword.Declaration
81 ' ' Text.Whitespace
82 'a' Name.Variable
83 ' ' Text.Whitespace
84 '=' Operator
85 ' ' Text.Whitespace
86 '2' Literal.Number.Integer
87 '\n ' Text.Whitespace
88 '[' Punctuation
89 'a' Text
90 ' ' Text.Whitespace
91 '=' Text
92 ' ' Text.Whitespace
93 '$' Punctuation
94 '#a' Name.Variable
95 ' ' Text.Whitespace
96 '+' Operator
97 ' ' Text.Whitespace
98 '3' Literal.Number
99 '$' Punctuation
100 ']' Punctuation
101 '\n ' Text.Whitespace
102 '}' Punctuation
103 '\n' Text.Whitespace
104
105 ' ' Text.Whitespace
106 ']' Punctuation
107 '\n ' Text.Whitespace
108 'let' Keyword.Declaration
109 ' ' Text.Whitespace
110 'd' Name.Variable
111 ' ' Text.Whitespace
112 '=' Operator
113 ' ' Text.Whitespace
114 '42' Literal.Number.Integer
115 '\n ' Text.Whitespace
116 'd' Name.Variable
117 '\n' Text.Whitespace
118
119 '}' Punctuation
120 '\n' Text.Whitespace
121
122 '$' Punctuation
123 '\n ' Text.Whitespace
124 '5' Literal.Number
125 ' ' Text.Whitespace
126 '/' Operator
127 ' ' Text.Whitespace
128 '6' Literal.Number
129 ' ' Text.Whitespace
130 '+' Operator
131 ' ' Text.Whitespace
132 '4' Literal.Number
133 ' ' Text.Whitespace
134 '&' Punctuation
135 '=' Operator
136 ' ' Text.Whitespace
137 '1' Literal.Number
138 ' ' Text.Whitespace
139 '+' Operator
140 ' ' Text.Whitespace
141 '2' Literal.Number
142 ' ' Text.Whitespace
143 '+' Operator
144 ' ' Text.Whitespace
145 '3' Literal.Number
146 ' ' Text.Whitespace
147 '\\' Punctuation
148 '\n ' Text.Whitespace
149 '&' Punctuation
150 '=' Operator
151 ' ' Text.Whitespace
152 '(' Punctuation
153 '3' Literal.Number
154 '+' Operator
155 '4' Literal.Number
156 ')' Punctuation
157 '/' Operator
158 'lambda' Name.Variable
159 '\n' Text.Whitespace
160
161 '$' Punctuation
162 '\n' Text.Whitespace
163
164 '\n' Text.Whitespace
165
166 '-' Punctuation
167 ' ' Text.Whitespace
168 'A' Text
169 '\n' Text.Whitespace
170
171 '-' Punctuation
172 ' ' Text.Whitespace
173 'B' Text
174 '\n' Text.Whitespace
175
176 '-C' Text
177 '\n' Text.Whitespace