summary refs log tree commit diff stats
path: root/lib/system/exceptions.nim
diff options
context:
space:
mode:
authorIvan Yonchovski <yyoncho@users.noreply.github.com>2023-01-27 08:11:30 +0200
committerGitHub <noreply@github.com>2023-01-27 07:11:30 +0100
commit7031ea65cd220360b8e9f566fd28f01bc0bf53c4 (patch)
tree0980a960ae6058507a8706d81b8f1e98c8d6e5fb /lib/system/exceptions.nim
parent4647c7b59634e0d8bd24d815337e7a7a1f0830bd (diff)
downloadNim-7031ea65cd220360b8e9f566fd28f01bc0bf53c4.tar.gz
Implemented basic macro expand functionality (#20579)
* Implemented level based macro expand functionality

- it can handle single macro call or expand whole function/proc/etc and it

- In addition, I have altered the parser to provide the endInfo for the node.
The usefulness of the `endInfo` is not limited to the `expandMacro`
functionality but also it is useful for `ideOutline` functionality and I have
altered the ideOutline functionality to use `endInfo`. Note `endInfo` most of
the time is lost during the AST transformation thus in `nimsuggest.nim` I am
using freshly parsed tree to get the location information.

* Make sure we stop expanding correctly

* Test CI

* Fix tv3_outline.nim
Diffstat (limited to 'lib/system/exceptions.nim')
0 files changed, 0 insertions, 0 deletions
6f5d7864f6c0c62b8849349cb182c61f8dbed452'>6f5d7864 ^
c1a50c82 ^
a26cc359 ^
57699011 ^
a26cc359 ^
6f5d7864 ^
ec926027 ^
3c435756 ^
1228ec73 ^
ec926027 ^
a66c9ae6 ^
8eff7919 ^
69e14325 ^
1228ec73 ^

7da71d03 ^
0edf822f ^
7da71d03 ^
9fc64bbc ^
10e449b5 ^
b75e94b3 ^


9fc64bbc ^

b75e94b3 ^
68329610 ^
69e14325 ^
c475ccc3 ^
f1e953d0 ^
a767dbd3 ^

72cccd08 ^
dcfca05e ^
dcfca05e ^
f1a6f323 ^
d241c9c4 ^
dcfca05e ^
6673e1fc ^
dcfca05e ^
d241c9c4 ^

f1a6f323 ^
d241c9c4 ^
dcfca05e ^
d241c9c4 ^
9cf71627 ^
9b035724 ^
9fc64bbc ^


3c435756 ^


2199940a ^
a66c9ae6 ^
8eff7919 ^
ec926027 ^

7c8493b3 ^
b75e94b3 ^
ec926027 ^

dcfca05e ^
8eff7919 ^
dcfca05e ^

69e14325 ^
46c2c7b6 ^
ec926027 ^

b39ceb27 ^
e7f76736 ^
e7f76736 ^
6ace0363 ^
e7f76736 ^
b39ceb27 ^
e7f76736 ^
b39ceb27 ^


a8007cc4 ^
c17d5591 ^
a8007cc4 ^
e7f76736 ^
ccd792da ^
e7f76736 ^
4caa718f ^
fb4836dc ^
e7f76736 ^

267ebb59 ^
6ace0363 ^
267ebb59 ^
f5f4b698 ^



ad8e984f ^
8c9e97ae ^
2b7a7498 ^
267ebb59 ^
ccd792da ^


267ebb59 ^

7284d503 ^
96f19e1e ^
6ace0363 ^
3c435756 ^
3c435756 ^
2199940a ^
3c435756 ^
8c9e97ae ^
981cc9e8 ^
b1bbe92d ^
96f19e1e ^
3c435756 ^
3c435756 ^
7284d503 ^

6673e1fc ^
916ae8f5 ^
6673e1fc ^
c82d0176 ^
a4ef18b1 ^
a26cc359 ^

6673e1fc ^
fae70331 ^
a66c9ae6 ^
b291f85b ^



cae5461b ^


6673e1fc ^
6b6dfb0c ^
6673e1fc ^
fae70331 ^
0edc9471 ^
a66c9ae6 ^
57699011 ^
b291f85b ^

cae5461b ^

c1a50c82 ^
6b6dfb0c ^
3076bab4 ^


f1a6f323 ^
f48f6c14 ^
eaa75c87 ^
decaddb4 ^
6b6dfb0c ^



c82d0176 ^



decaddb4 ^







fc55fea0 ^






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206