User Guide
lookup_visitor.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2023 Blue Brain Project, EPFL.
3  * See the top-level LICENSE file for details.
4  *
5  * SPDX-License-Identifier: Apache-2.0
6  */
7 
8 ///
9 /// THIS FILE IS GENERATED AT BUILD TIME AND SHALL NOT BE EDITED.
10 ///
11 
13 
14 #include <algorithm>
15 
16 #include "ast/all.hpp"
17 
18 
19 namespace nmodl {
20 namespace visitor {
21 
22 using namespace ast;
23 
24 template <typename DefaultVisitor>
26  const auto type = node.get_node_type();
27  if (std::find(types.begin(), types.end(), type) != types.end()) {
28  nodes.push_back(node.get_shared_ptr());
29  }
30  node.visit_children(*this);
31 }
32 template <typename DefaultVisitor>
34  const auto type = node.get_node_type();
35  if (std::find(types.begin(), types.end(), type) != types.end()) {
36  nodes.push_back(node.get_shared_ptr());
37  }
38  node.visit_children(*this);
39 }
40 template <typename DefaultVisitor>
42  const auto type = node.get_node_type();
43  if (std::find(types.begin(), types.end(), type) != types.end()) {
44  nodes.push_back(node.get_shared_ptr());
45  }
46  node.visit_children(*this);
47 }
48 template <typename DefaultVisitor>
50  const auto type = node.get_node_type();
51  if (std::find(types.begin(), types.end(), type) != types.end()) {
52  nodes.push_back(node.get_shared_ptr());
53  }
54  node.visit_children(*this);
55 }
56 template <typename DefaultVisitor>
58  const auto type = node.get_node_type();
59  if (std::find(types.begin(), types.end(), type) != types.end()) {
60  nodes.push_back(node.get_shared_ptr());
61  }
62  node.visit_children(*this);
63 }
64 template <typename DefaultVisitor>
66  const auto type = node.get_node_type();
67  if (std::find(types.begin(), types.end(), type) != types.end()) {
68  nodes.push_back(node.get_shared_ptr());
69  }
70  node.visit_children(*this);
71 }
72 template <typename DefaultVisitor>
74  const auto type = node.get_node_type();
75  if (std::find(types.begin(), types.end(), type) != types.end()) {
76  nodes.push_back(node.get_shared_ptr());
77  }
78  node.visit_children(*this);
79 }
80 template <typename DefaultVisitor>
82  const auto type = node.get_node_type();
83  if (std::find(types.begin(), types.end(), type) != types.end()) {
84  nodes.push_back(node.get_shared_ptr());
85  }
86  node.visit_children(*this);
87 }
88 template <typename DefaultVisitor>
90  const auto type = node.get_node_type();
91  if (std::find(types.begin(), types.end(), type) != types.end()) {
92  nodes.push_back(node.get_shared_ptr());
93  }
94  node.visit_children(*this);
95 }
96 template <typename DefaultVisitor>
98  const auto type = node.get_node_type();
99  if (std::find(types.begin(), types.end(), type) != types.end()) {
100  nodes.push_back(node.get_shared_ptr());
101  }
102  node.visit_children(*this);
103 }
104 template <typename DefaultVisitor>
106  const auto type = node.get_node_type();
107  if (std::find(types.begin(), types.end(), type) != types.end()) {
108  nodes.push_back(node.get_shared_ptr());
109  }
110  node.visit_children(*this);
111 }
112 template <typename DefaultVisitor>
114  const auto type = node.get_node_type();
115  if (std::find(types.begin(), types.end(), type) != types.end()) {
116  nodes.push_back(node.get_shared_ptr());
117  }
118  node.visit_children(*this);
119 }
120 template <typename DefaultVisitor>
122  const auto type = node.get_node_type();
123  if (std::find(types.begin(), types.end(), type) != types.end()) {
124  nodes.push_back(node.get_shared_ptr());
125  }
126  node.visit_children(*this);
127 }
128 template <typename DefaultVisitor>
130  const auto type = node.get_node_type();
131  if (std::find(types.begin(), types.end(), type) != types.end()) {
132  nodes.push_back(node.get_shared_ptr());
133  }
134  node.visit_children(*this);
135 }
136 template <typename DefaultVisitor>
138  const auto type = node.get_node_type();
139  if (std::find(types.begin(), types.end(), type) != types.end()) {
140  nodes.push_back(node.get_shared_ptr());
141  }
142  node.visit_children(*this);
143 }
144 template <typename DefaultVisitor>
146  const auto type = node.get_node_type();
147  if (std::find(types.begin(), types.end(), type) != types.end()) {
148  nodes.push_back(node.get_shared_ptr());
149  }
150  node.visit_children(*this);
151 }
152 template <typename DefaultVisitor>
154  const auto type = node.get_node_type();
155  if (std::find(types.begin(), types.end(), type) != types.end()) {
156  nodes.push_back(node.get_shared_ptr());
157  }
158  node.visit_children(*this);
159 }
160 template <typename DefaultVisitor>
162  const auto type = node.get_node_type();
163  if (std::find(types.begin(), types.end(), type) != types.end()) {
164  nodes.push_back(node.get_shared_ptr());
165  }
166  node.visit_children(*this);
167 }
168 template <typename DefaultVisitor>
170  const auto type = node.get_node_type();
171  if (std::find(types.begin(), types.end(), type) != types.end()) {
172  nodes.push_back(node.get_shared_ptr());
173  }
174  node.visit_children(*this);
175 }
176 template <typename DefaultVisitor>
178  const auto type = node.get_node_type();
179  if (std::find(types.begin(), types.end(), type) != types.end()) {
180  nodes.push_back(node.get_shared_ptr());
181  }
182  node.visit_children(*this);
183 }
184 template <typename DefaultVisitor>
186  const auto type = node.get_node_type();
187  if (std::find(types.begin(), types.end(), type) != types.end()) {
188  nodes.push_back(node.get_shared_ptr());
189  }
190  node.visit_children(*this);
191 }
192 template <typename DefaultVisitor>
194  const auto type = node.get_node_type();
195  if (std::find(types.begin(), types.end(), type) != types.end()) {
196  nodes.push_back(node.get_shared_ptr());
197  }
198  node.visit_children(*this);
199 }
200 template <typename DefaultVisitor>
202  const auto type = node.get_node_type();
203  if (std::find(types.begin(), types.end(), type) != types.end()) {
204  nodes.push_back(node.get_shared_ptr());
205  }
206  node.visit_children(*this);
207 }
208 template <typename DefaultVisitor>
210  const auto type = node.get_node_type();
211  if (std::find(types.begin(), types.end(), type) != types.end()) {
212  nodes.push_back(node.get_shared_ptr());
213  }
214  node.visit_children(*this);
215 }
216 template <typename DefaultVisitor>
218  const auto type = node.get_node_type();
219  if (std::find(types.begin(), types.end(), type) != types.end()) {
220  nodes.push_back(node.get_shared_ptr());
221  }
222  node.visit_children(*this);
223 }
224 template <typename DefaultVisitor>
226  const auto type = node.get_node_type();
227  if (std::find(types.begin(), types.end(), type) != types.end()) {
228  nodes.push_back(node.get_shared_ptr());
229  }
230  node.visit_children(*this);
231 }
232 template <typename DefaultVisitor>
234  const auto type = node.get_node_type();
235  if (std::find(types.begin(), types.end(), type) != types.end()) {
236  nodes.push_back(node.get_shared_ptr());
237  }
238  node.visit_children(*this);
239 }
240 template <typename DefaultVisitor>
242  const auto type = node.get_node_type();
243  if (std::find(types.begin(), types.end(), type) != types.end()) {
244  nodes.push_back(node.get_shared_ptr());
245  }
246  node.visit_children(*this);
247 }
248 template <typename DefaultVisitor>
250  const auto type = node.get_node_type();
251  if (std::find(types.begin(), types.end(), type) != types.end()) {
252  nodes.push_back(node.get_shared_ptr());
253  }
254  node.visit_children(*this);
255 }
256 template <typename DefaultVisitor>
258  const auto type = node.get_node_type();
259  if (std::find(types.begin(), types.end(), type) != types.end()) {
260  nodes.push_back(node.get_shared_ptr());
261  }
262  node.visit_children(*this);
263 }
264 template <typename DefaultVisitor>
266  const auto type = node.get_node_type();
267  if (std::find(types.begin(), types.end(), type) != types.end()) {
268  nodes.push_back(node.get_shared_ptr());
269  }
270  node.visit_children(*this);
271 }
272 template <typename DefaultVisitor>
274  const auto type = node.get_node_type();
275  if (std::find(types.begin(), types.end(), type) != types.end()) {
276  nodes.push_back(node.get_shared_ptr());
277  }
278  node.visit_children(*this);
279 }
280 template <typename DefaultVisitor>
282  const auto type = node.get_node_type();
283  if (std::find(types.begin(), types.end(), type) != types.end()) {
284  nodes.push_back(node.get_shared_ptr());
285  }
286  node.visit_children(*this);
287 }
288 template <typename DefaultVisitor>
290  const auto type = node.get_node_type();
291  if (std::find(types.begin(), types.end(), type) != types.end()) {
292  nodes.push_back(node.get_shared_ptr());
293  }
294  node.visit_children(*this);
295 }
296 template <typename DefaultVisitor>
298  const auto type = node.get_node_type();
299  if (std::find(types.begin(), types.end(), type) != types.end()) {
300  nodes.push_back(node.get_shared_ptr());
301  }
302  node.visit_children(*this);
303 }
304 template <typename DefaultVisitor>
306  const auto type = node.get_node_type();
307  if (std::find(types.begin(), types.end(), type) != types.end()) {
308  nodes.push_back(node.get_shared_ptr());
309  }
310  node.visit_children(*this);
311 }
312 template <typename DefaultVisitor>
314  const auto type = node.get_node_type();
315  if (std::find(types.begin(), types.end(), type) != types.end()) {
316  nodes.push_back(node.get_shared_ptr());
317  }
318  node.visit_children(*this);
319 }
320 template <typename DefaultVisitor>
322  const auto type = node.get_node_type();
323  if (std::find(types.begin(), types.end(), type) != types.end()) {
324  nodes.push_back(node.get_shared_ptr());
325  }
326  node.visit_children(*this);
327 }
328 template <typename DefaultVisitor>
330  const auto type = node.get_node_type();
331  if (std::find(types.begin(), types.end(), type) != types.end()) {
332  nodes.push_back(node.get_shared_ptr());
333  }
334  node.visit_children(*this);
335 }
336 template <typename DefaultVisitor>
338  const auto type = node.get_node_type();
339  if (std::find(types.begin(), types.end(), type) != types.end()) {
340  nodes.push_back(node.get_shared_ptr());
341  }
342  node.visit_children(*this);
343 }
344 template <typename DefaultVisitor>
346  const auto type = node.get_node_type();
347  if (std::find(types.begin(), types.end(), type) != types.end()) {
348  nodes.push_back(node.get_shared_ptr());
349  }
350  node.visit_children(*this);
351 }
352 template <typename DefaultVisitor>
354  const auto type = node.get_node_type();
355  if (std::find(types.begin(), types.end(), type) != types.end()) {
356  nodes.push_back(node.get_shared_ptr());
357  }
358  node.visit_children(*this);
359 }
360 template <typename DefaultVisitor>
362  const auto type = node.get_node_type();
363  if (std::find(types.begin(), types.end(), type) != types.end()) {
364  nodes.push_back(node.get_shared_ptr());
365  }
366  node.visit_children(*this);
367 }
368 template <typename DefaultVisitor>
370  const auto type = node.get_node_type();
371  if (std::find(types.begin(), types.end(), type) != types.end()) {
372  nodes.push_back(node.get_shared_ptr());
373  }
374  node.visit_children(*this);
375 }
376 template <typename DefaultVisitor>
378  const auto type = node.get_node_type();
379  if (std::find(types.begin(), types.end(), type) != types.end()) {
380  nodes.push_back(node.get_shared_ptr());
381  }
382  node.visit_children(*this);
383 }
384 template <typename DefaultVisitor>
386  const auto type = node.get_node_type();
387  if (std::find(types.begin(), types.end(), type) != types.end()) {
388  nodes.push_back(node.get_shared_ptr());
389  }
390  node.visit_children(*this);
391 }
392 template <typename DefaultVisitor>
394  const auto type = node.get_node_type();
395  if (std::find(types.begin(), types.end(), type) != types.end()) {
396  nodes.push_back(node.get_shared_ptr());
397  }
398  node.visit_children(*this);
399 }
400 template <typename DefaultVisitor>
402  const auto type = node.get_node_type();
403  if (std::find(types.begin(), types.end(), type) != types.end()) {
404  nodes.push_back(node.get_shared_ptr());
405  }
406  node.visit_children(*this);
407 }
408 template <typename DefaultVisitor>
410  const auto type = node.get_node_type();
411  if (std::find(types.begin(), types.end(), type) != types.end()) {
412  nodes.push_back(node.get_shared_ptr());
413  }
414  node.visit_children(*this);
415 }
416 template <typename DefaultVisitor>
418  const auto type = node.get_node_type();
419  if (std::find(types.begin(), types.end(), type) != types.end()) {
420  nodes.push_back(node.get_shared_ptr());
421  }
422  node.visit_children(*this);
423 }
424 template <typename DefaultVisitor>
426  const auto type = node.get_node_type();
427  if (std::find(types.begin(), types.end(), type) != types.end()) {
428  nodes.push_back(node.get_shared_ptr());
429  }
430  node.visit_children(*this);
431 }
432 template <typename DefaultVisitor>
434  const auto type = node.get_node_type();
435  if (std::find(types.begin(), types.end(), type) != types.end()) {
436  nodes.push_back(node.get_shared_ptr());
437  }
438  node.visit_children(*this);
439 }
440 template <typename DefaultVisitor>
442  const auto type = node.get_node_type();
443  if (std::find(types.begin(), types.end(), type) != types.end()) {
444  nodes.push_back(node.get_shared_ptr());
445  }
446  node.visit_children(*this);
447 }
448 template <typename DefaultVisitor>
450  const auto type = node.get_node_type();
451  if (std::find(types.begin(), types.end(), type) != types.end()) {
452  nodes.push_back(node.get_shared_ptr());
453  }
454  node.visit_children(*this);
455 }
456 template <typename DefaultVisitor>
458  const auto type = node.get_node_type();
459  if (std::find(types.begin(), types.end(), type) != types.end()) {
460  nodes.push_back(node.get_shared_ptr());
461  }
462  node.visit_children(*this);
463 }
464 template <typename DefaultVisitor>
466  const auto type = node.get_node_type();
467  if (std::find(types.begin(), types.end(), type) != types.end()) {
468  nodes.push_back(node.get_shared_ptr());
469  }
470  node.visit_children(*this);
471 }
472 template <typename DefaultVisitor>
474  const auto type = node.get_node_type();
475  if (std::find(types.begin(), types.end(), type) != types.end()) {
476  nodes.push_back(node.get_shared_ptr());
477  }
478  node.visit_children(*this);
479 }
480 template <typename DefaultVisitor>
482  const auto type = node.get_node_type();
483  if (std::find(types.begin(), types.end(), type) != types.end()) {
484  nodes.push_back(node.get_shared_ptr());
485  }
486  node.visit_children(*this);
487 }
488 template <typename DefaultVisitor>
490  const auto type = node.get_node_type();
491  if (std::find(types.begin(), types.end(), type) != types.end()) {
492  nodes.push_back(node.get_shared_ptr());
493  }
494  node.visit_children(*this);
495 }
496 template <typename DefaultVisitor>
498  const auto type = node.get_node_type();
499  if (std::find(types.begin(), types.end(), type) != types.end()) {
500  nodes.push_back(node.get_shared_ptr());
501  }
502  node.visit_children(*this);
503 }
504 template <typename DefaultVisitor>
506  const auto type = node.get_node_type();
507  if (std::find(types.begin(), types.end(), type) != types.end()) {
508  nodes.push_back(node.get_shared_ptr());
509  }
510  node.visit_children(*this);
511 }
512 template <typename DefaultVisitor>
514  const auto type = node.get_node_type();
515  if (std::find(types.begin(), types.end(), type) != types.end()) {
516  nodes.push_back(node.get_shared_ptr());
517  }
518  node.visit_children(*this);
519 }
520 template <typename DefaultVisitor>
522  const auto type = node.get_node_type();
523  if (std::find(types.begin(), types.end(), type) != types.end()) {
524  nodes.push_back(node.get_shared_ptr());
525  }
526  node.visit_children(*this);
527 }
528 template <typename DefaultVisitor>
530  const auto type = node.get_node_type();
531  if (std::find(types.begin(), types.end(), type) != types.end()) {
532  nodes.push_back(node.get_shared_ptr());
533  }
534  node.visit_children(*this);
535 }
536 template <typename DefaultVisitor>
538  const auto type = node.get_node_type();
539  if (std::find(types.begin(), types.end(), type) != types.end()) {
540  nodes.push_back(node.get_shared_ptr());
541  }
542  node.visit_children(*this);
543 }
544 template <typename DefaultVisitor>
546  const auto type = node.get_node_type();
547  if (std::find(types.begin(), types.end(), type) != types.end()) {
548  nodes.push_back(node.get_shared_ptr());
549  }
550  node.visit_children(*this);
551 }
552 template <typename DefaultVisitor>
554  const auto type = node.get_node_type();
555  if (std::find(types.begin(), types.end(), type) != types.end()) {
556  nodes.push_back(node.get_shared_ptr());
557  }
558  node.visit_children(*this);
559 }
560 template <typename DefaultVisitor>
562  const auto type = node.get_node_type();
563  if (std::find(types.begin(), types.end(), type) != types.end()) {
564  nodes.push_back(node.get_shared_ptr());
565  }
566  node.visit_children(*this);
567 }
568 template <typename DefaultVisitor>
570  const auto type = node.get_node_type();
571  if (std::find(types.begin(), types.end(), type) != types.end()) {
572  nodes.push_back(node.get_shared_ptr());
573  }
574  node.visit_children(*this);
575 }
576 template <typename DefaultVisitor>
578  const auto type = node.get_node_type();
579  if (std::find(types.begin(), types.end(), type) != types.end()) {
580  nodes.push_back(node.get_shared_ptr());
581  }
582  node.visit_children(*this);
583 }
584 template <typename DefaultVisitor>
586  const auto type = node.get_node_type();
587  if (std::find(types.begin(), types.end(), type) != types.end()) {
588  nodes.push_back(node.get_shared_ptr());
589  }
590  node.visit_children(*this);
591 }
592 template <typename DefaultVisitor>
594  const auto type = node.get_node_type();
595  if (std::find(types.begin(), types.end(), type) != types.end()) {
596  nodes.push_back(node.get_shared_ptr());
597  }
598  node.visit_children(*this);
599 }
600 template <typename DefaultVisitor>
602  const auto type = node.get_node_type();
603  if (std::find(types.begin(), types.end(), type) != types.end()) {
604  nodes.push_back(node.get_shared_ptr());
605  }
606  node.visit_children(*this);
607 }
608 template <typename DefaultVisitor>
610  const auto type = node.get_node_type();
611  if (std::find(types.begin(), types.end(), type) != types.end()) {
612  nodes.push_back(node.get_shared_ptr());
613  }
614  node.visit_children(*this);
615 }
616 template <typename DefaultVisitor>
618  const auto type = node.get_node_type();
619  if (std::find(types.begin(), types.end(), type) != types.end()) {
620  nodes.push_back(node.get_shared_ptr());
621  }
622  node.visit_children(*this);
623 }
624 template <typename DefaultVisitor>
626  const auto type = node.get_node_type();
627  if (std::find(types.begin(), types.end(), type) != types.end()) {
628  nodes.push_back(node.get_shared_ptr());
629  }
630  node.visit_children(*this);
631 }
632 template <typename DefaultVisitor>
634  const auto type = node.get_node_type();
635  if (std::find(types.begin(), types.end(), type) != types.end()) {
636  nodes.push_back(node.get_shared_ptr());
637  }
638  node.visit_children(*this);
639 }
640 template <typename DefaultVisitor>
642  const auto type = node.get_node_type();
643  if (std::find(types.begin(), types.end(), type) != types.end()) {
644  nodes.push_back(node.get_shared_ptr());
645  }
646  node.visit_children(*this);
647 }
648 template <typename DefaultVisitor>
650  const auto type = node.get_node_type();
651  if (std::find(types.begin(), types.end(), type) != types.end()) {
652  nodes.push_back(node.get_shared_ptr());
653  }
654  node.visit_children(*this);
655 }
656 template <typename DefaultVisitor>
658  const auto type = node.get_node_type();
659  if (std::find(types.begin(), types.end(), type) != types.end()) {
660  nodes.push_back(node.get_shared_ptr());
661  }
662  node.visit_children(*this);
663 }
664 template <typename DefaultVisitor>
666  const auto type = node.get_node_type();
667  if (std::find(types.begin(), types.end(), type) != types.end()) {
668  nodes.push_back(node.get_shared_ptr());
669  }
670  node.visit_children(*this);
671 }
672 template <typename DefaultVisitor>
674  const auto type = node.get_node_type();
675  if (std::find(types.begin(), types.end(), type) != types.end()) {
676  nodes.push_back(node.get_shared_ptr());
677  }
678  node.visit_children(*this);
679 }
680 template <typename DefaultVisitor>
682  const auto type = node.get_node_type();
683  if (std::find(types.begin(), types.end(), type) != types.end()) {
684  nodes.push_back(node.get_shared_ptr());
685  }
686  node.visit_children(*this);
687 }
688 template <typename DefaultVisitor>
690  const auto type = node.get_node_type();
691  if (std::find(types.begin(), types.end(), type) != types.end()) {
692  nodes.push_back(node.get_shared_ptr());
693  }
694  node.visit_children(*this);
695 }
696 template <typename DefaultVisitor>
698  const auto type = node.get_node_type();
699  if (std::find(types.begin(), types.end(), type) != types.end()) {
700  nodes.push_back(node.get_shared_ptr());
701  }
702  node.visit_children(*this);
703 }
704 template <typename DefaultVisitor>
706  const auto type = node.get_node_type();
707  if (std::find(types.begin(), types.end(), type) != types.end()) {
708  nodes.push_back(node.get_shared_ptr());
709  }
710  node.visit_children(*this);
711 }
712 template <typename DefaultVisitor>
714  const auto type = node.get_node_type();
715  if (std::find(types.begin(), types.end(), type) != types.end()) {
716  nodes.push_back(node.get_shared_ptr());
717  }
718  node.visit_children(*this);
719 }
720 template <typename DefaultVisitor>
722  const auto type = node.get_node_type();
723  if (std::find(types.begin(), types.end(), type) != types.end()) {
724  nodes.push_back(node.get_shared_ptr());
725  }
726  node.visit_children(*this);
727 }
728 template <typename DefaultVisitor>
730  const auto type = node.get_node_type();
731  if (std::find(types.begin(), types.end(), type) != types.end()) {
732  nodes.push_back(node.get_shared_ptr());
733  }
734  node.visit_children(*this);
735 }
736 template <typename DefaultVisitor>
738  const auto type = node.get_node_type();
739  if (std::find(types.begin(), types.end(), type) != types.end()) {
740  nodes.push_back(node.get_shared_ptr());
741  }
742  node.visit_children(*this);
743 }
744 template <typename DefaultVisitor>
746  const auto type = node.get_node_type();
747  if (std::find(types.begin(), types.end(), type) != types.end()) {
748  nodes.push_back(node.get_shared_ptr());
749  }
750  node.visit_children(*this);
751 }
752 template <typename DefaultVisitor>
754  const auto type = node.get_node_type();
755  if (std::find(types.begin(), types.end(), type) != types.end()) {
756  nodes.push_back(node.get_shared_ptr());
757  }
758  node.visit_children(*this);
759 }
760 template <typename DefaultVisitor>
762  const auto type = node.get_node_type();
763  if (std::find(types.begin(), types.end(), type) != types.end()) {
764  nodes.push_back(node.get_shared_ptr());
765  }
766  node.visit_children(*this);
767 }
768 template <typename DefaultVisitor>
770  const auto type = node.get_node_type();
771  if (std::find(types.begin(), types.end(), type) != types.end()) {
772  nodes.push_back(node.get_shared_ptr());
773  }
774  node.visit_children(*this);
775 }
776 template <typename DefaultVisitor>
778  const auto type = node.get_node_type();
779  if (std::find(types.begin(), types.end(), type) != types.end()) {
780  nodes.push_back(node.get_shared_ptr());
781  }
782  node.visit_children(*this);
783 }
784 template <typename DefaultVisitor>
786  const auto type = node.get_node_type();
787  if (std::find(types.begin(), types.end(), type) != types.end()) {
788  nodes.push_back(node.get_shared_ptr());
789  }
790  node.visit_children(*this);
791 }
792 template <typename DefaultVisitor>
794  const auto type = node.get_node_type();
795  if (std::find(types.begin(), types.end(), type) != types.end()) {
796  nodes.push_back(node.get_shared_ptr());
797  }
798  node.visit_children(*this);
799 }
800 template <typename DefaultVisitor>
802  const auto type = node.get_node_type();
803  if (std::find(types.begin(), types.end(), type) != types.end()) {
804  nodes.push_back(node.get_shared_ptr());
805  }
806  node.visit_children(*this);
807 }
808 template <typename DefaultVisitor>
810  const auto type = node.get_node_type();
811  if (std::find(types.begin(), types.end(), type) != types.end()) {
812  nodes.push_back(node.get_shared_ptr());
813  }
814  node.visit_children(*this);
815 }
816 template <typename DefaultVisitor>
818  const auto type = node.get_node_type();
819  if (std::find(types.begin(), types.end(), type) != types.end()) {
820  nodes.push_back(node.get_shared_ptr());
821  }
822  node.visit_children(*this);
823 }
824 template <typename DefaultVisitor>
826  const auto type = node.get_node_type();
827  if (std::find(types.begin(), types.end(), type) != types.end()) {
828  nodes.push_back(node.get_shared_ptr());
829  }
830  node.visit_children(*this);
831 }
832 template <typename DefaultVisitor>
834  const auto type = node.get_node_type();
835  if (std::find(types.begin(), types.end(), type) != types.end()) {
836  nodes.push_back(node.get_shared_ptr());
837  }
838  node.visit_children(*this);
839 }
840 template <typename DefaultVisitor>
842  const auto type = node.get_node_type();
843  if (std::find(types.begin(), types.end(), type) != types.end()) {
844  nodes.push_back(node.get_shared_ptr());
845  }
846  node.visit_children(*this);
847 }
848 template <typename DefaultVisitor>
850  const auto type = node.get_node_type();
851  if (std::find(types.begin(), types.end(), type) != types.end()) {
852  nodes.push_back(node.get_shared_ptr());
853  }
854  node.visit_children(*this);
855 }
856 template <typename DefaultVisitor>
858  const auto type = node.get_node_type();
859  if (std::find(types.begin(), types.end(), type) != types.end()) {
860  nodes.push_back(node.get_shared_ptr());
861  }
862  node.visit_children(*this);
863 }
864 template <typename DefaultVisitor>
866  const auto type = node.get_node_type();
867  if (std::find(types.begin(), types.end(), type) != types.end()) {
868  nodes.push_back(node.get_shared_ptr());
869  }
870  node.visit_children(*this);
871 }
872 template <typename DefaultVisitor>
874  const auto type = node.get_node_type();
875  if (std::find(types.begin(), types.end(), type) != types.end()) {
876  nodes.push_back(node.get_shared_ptr());
877  }
878  node.visit_children(*this);
879 }
880 template <typename DefaultVisitor>
882  const auto type = node.get_node_type();
883  if (std::find(types.begin(), types.end(), type) != types.end()) {
884  nodes.push_back(node.get_shared_ptr());
885  }
886  node.visit_children(*this);
887 }
888 template <typename DefaultVisitor>
890  const auto type = node.get_node_type();
891  if (std::find(types.begin(), types.end(), type) != types.end()) {
892  nodes.push_back(node.get_shared_ptr());
893  }
894  node.visit_children(*this);
895 }
896 template <typename DefaultVisitor>
898  const auto type = node.get_node_type();
899  if (std::find(types.begin(), types.end(), type) != types.end()) {
900  nodes.push_back(node.get_shared_ptr());
901  }
902  node.visit_children(*this);
903 }
904 template <typename DefaultVisitor>
906  const auto type = node.get_node_type();
907  if (std::find(types.begin(), types.end(), type) != types.end()) {
908  nodes.push_back(node.get_shared_ptr());
909  }
910  node.visit_children(*this);
911 }
912 template <typename DefaultVisitor>
914  const auto type = node.get_node_type();
915  if (std::find(types.begin(), types.end(), type) != types.end()) {
916  nodes.push_back(node.get_shared_ptr());
917  }
918  node.visit_children(*this);
919 }
920 template <typename DefaultVisitor>
922  const auto type = node.get_node_type();
923  if (std::find(types.begin(), types.end(), type) != types.end()) {
924  nodes.push_back(node.get_shared_ptr());
925  }
926  node.visit_children(*this);
927 }
928 template <typename DefaultVisitor>
930  const auto type = node.get_node_type();
931  if (std::find(types.begin(), types.end(), type) != types.end()) {
932  nodes.push_back(node.get_shared_ptr());
933  }
934  node.visit_children(*this);
935 }
936 template <typename DefaultVisitor>
938  const auto type = node.get_node_type();
939  if (std::find(types.begin(), types.end(), type) != types.end()) {
940  nodes.push_back(node.get_shared_ptr());
941  }
942  node.visit_children(*this);
943 }
944 template <typename DefaultVisitor>
946  const auto type = node.get_node_type();
947  if (std::find(types.begin(), types.end(), type) != types.end()) {
948  nodes.push_back(node.get_shared_ptr());
949  }
950  node.visit_children(*this);
951 }
952 template <typename DefaultVisitor>
954  const auto type = node.get_node_type();
955  if (std::find(types.begin(), types.end(), type) != types.end()) {
956  nodes.push_back(node.get_shared_ptr());
957  }
958  node.visit_children(*this);
959 }
960 template <typename DefaultVisitor>
962  const auto type = node.get_node_type();
963  if (std::find(types.begin(), types.end(), type) != types.end()) {
964  nodes.push_back(node.get_shared_ptr());
965  }
966  node.visit_children(*this);
967 }
968 template <typename DefaultVisitor>
970  const auto type = node.get_node_type();
971  if (std::find(types.begin(), types.end(), type) != types.end()) {
972  nodes.push_back(node.get_shared_ptr());
973  }
974  node.visit_children(*this);
975 }
976 template <typename DefaultVisitor>
978  const auto type = node.get_node_type();
979  if (std::find(types.begin(), types.end(), type) != types.end()) {
980  nodes.push_back(node.get_shared_ptr());
981  }
982  node.visit_children(*this);
983 }
984 template <typename DefaultVisitor>
986  const auto type = node.get_node_type();
987  if (std::find(types.begin(), types.end(), type) != types.end()) {
988  nodes.push_back(node.get_shared_ptr());
989  }
990  node.visit_children(*this);
991 }
992 template <typename DefaultVisitor>
994  const auto type = node.get_node_type();
995  if (std::find(types.begin(), types.end(), type) != types.end()) {
996  nodes.push_back(node.get_shared_ptr());
997  }
998  node.visit_children(*this);
999 }
1000 
1001 template <typename DefaultVisitor>
1004  const std::vector<AstNodeType>& t_types) {
1005  clear();
1006  this->types = t_types;
1007  node.accept(*this);
1008  return nodes;
1009 }
1010 
1011 template <typename DefaultVisitor>
1014  AstNodeType type) {
1015  clear();
1016  this->types.push_back(type);
1017  node.accept(*this);
1018  return nodes;
1019 }
1020 
1021 template <typename DefaultVisitor>
1024  nodes.clear();
1025  node.accept(*this);
1026  return nodes;
1027 }
1028 
1029 // explicit template instantiation definitions
1030 template class MetaAstLookupVisitor<Visitor>;
1031 template class MetaAstLookupVisitor<ConstVisitor>;
1032 
1033 } // namespace visitor
1034 } // namespace nmodl
nmodl::visitor::MetaAstLookupVisitor::visit_lag_statement
void visit_lag_statement(typename visit_arg_trait< ast::LagStatement >::type &node) override
Definition: lookup_visitor.cpp:793
nmodl::visitor::MetaAstLookupVisitor::visit_derivimplicit_callback
void visit_derivimplicit_callback(typename visit_arg_trait< ast::DerivimplicitCallback >::type &node) override
Definition: lookup_visitor.cpp:977
nmodl::visitor::MetaAstLookupVisitor::visit_lon_difuse
void visit_lon_difuse(typename visit_arg_trait< ast::LonDifuse >::type &node) override
Definition: lookup_visitor.cpp:777
nmodl::visitor::MetaAstLookupVisitor::visit_pointer_var
void visit_pointer_var(typename visit_arg_trait< ast::PointerVar >::type &node) override
Definition: lookup_visitor.cpp:209
nmodl::visitor::MetaAstLookupVisitor::visit_else_statement
void visit_else_statement(typename visit_arg_trait< ast::ElseStatement >::type &node) override
Definition: lookup_visitor.cpp:729
nmodl::visitor::MetaAstLookupVisitor::visit_assigned_definition
void visit_assigned_definition(typename visit_arg_trait< ast::AssignedDefinition >::type &node) override
Definition: lookup_visitor.cpp:665
nmodl::visitor::MetaAstLookupVisitor::visit_kinetic_block
void visit_kinetic_block(typename visit_arg_trait< ast::KineticBlock >::type &node) override
Definition: lookup_visitor.cpp:417
nmodl::visitor::MetaAstLookupVisitor::visit_range_var
void visit_range_var(typename visit_arg_trait< ast::RangeVar >::type &node) override
Definition: lookup_visitor.cpp:193
nmodl::visitor::MetaAstLookupVisitor::visit_line_comment
void visit_line_comment(typename visit_arg_trait< ast::LineComment >::type &node) override
Definition: lookup_visitor.cpp:913
nmodl::visitor::MetaAstLookupVisitor::visit_function_block
void visit_function_block(typename visit_arg_trait< ast::FunctionBlock >::type &node) override
Definition: lookup_visitor.cpp:345
nmodl::visitor::MetaAstLookupVisitor::visit_constructor_block
void visit_constructor_block(typename visit_arg_trait< ast::ConstructorBlock >::type &node) override
Definition: lookup_visitor.cpp:281
nmodl::visitor::MetaAstLookupVisitor::visit_verbatim
void visit_verbatim(typename visit_arg_trait< ast::Verbatim >::type &node) override
Definition: lookup_visitor.cpp:905
nmodl::visitor::MetaAstLookupVisitor::visit_unit_state
void visit_unit_state(typename visit_arg_trait< ast::UnitState >::type &node) override
Definition: lookup_visitor.cpp:617
nmodl::visitor::MetaAstLookupVisitor::nodes_t
std::vector< std::shared_ptr< ast_t > > nodes_t
Definition: lookup_visitor.hpp:46
nmodl::visitor::MetaAstLookupVisitor::visit_linear_block
void visit_linear_block(typename visit_arg_trait< ast::LinearBlock >::type &node) override
Definition: lookup_visitor.cpp:313
nmodl::visitor::MetaAstLookupVisitor::visit_boolean
void visit_boolean(typename visit_arg_trait< ast::Boolean >::type &node) override
Definition: lookup_visitor.cpp:105
nmodl::visitor::MetaAstLookupVisitor::visit_pointer
void visit_pointer(typename visit_arg_trait< ast::Pointer >::type &node) override
Definition: lookup_visitor.cpp:873
nmodl::visitor::MetaAstLookupVisitor::visit_expression_statement
void visit_expression_statement(typename visit_arg_trait< ast::ExpressionStatement >::type &node) override
Definition: lookup_visitor.cpp:681
nmodl::visitor::MetaAstLookupVisitor::visit_ontology_statement
void visit_ontology_statement(typename visit_arg_trait< ast::OntologyStatement >::type &node) override
Definition: lookup_visitor.cpp:929
nmodl::visitor::MetaAstLookupVisitor::visit_independent_block
void visit_independent_block(typename visit_arg_trait< ast::IndependentBlock >::type &node) override
Definition: lookup_visitor.cpp:249
nmodl::visitor::MetaAstLookupVisitor::visit_ba_block_type
void visit_ba_block_type(typename visit_arg_trait< ast::BABlockType >::type &node) override
Definition: lookup_visitor.cpp:585
nmodl::visitor::MetaAstLookupVisitor::visit_non_lin_equation
void visit_non_lin_equation(typename visit_arg_trait< ast::NonLinEquation >::type &node) override
Definition: lookup_visitor.cpp:553
nmodl::visitor::MetaAstLookupVisitor::visit_local_list_statement
void visit_local_list_statement(typename visit_arg_trait< ast::LocalListStatement >::type &node) override
Definition: lookup_visitor.cpp:625
nmodl::visitor::MetaAstLookupVisitor::visit_state_block
void visit_state_block(typename visit_arg_trait< ast::StateBlock >::type &node) override
Definition: lookup_visitor.cpp:265
nmodl::visitor::MetaAstLookupVisitor::visit_read_ion_var
void visit_read_ion_var(typename visit_arg_trait< ast::ReadIonVar >::type &node) override
Definition: lookup_visitor.cpp:161
nmodl::visitor::MetaAstLookupVisitor::ast_t
typename visit_arg_trait< ast::Ast >::type ast_t
Definition: lookup_visitor.hpp:45
nmodl
encapsulates code generation backend implementations
Definition: ast_common.hpp:26
nmodl::visitor::MetaAstLookupVisitor::visit_before_block
void visit_before_block(typename visit_arg_trait< ast::BeforeBlock >::type &node) override
Definition: lookup_visitor.cpp:385
nmodl::visitor::MetaAstLookupVisitor::visit_function_call
void visit_function_call(typename visit_arg_trait< ast::FunctionCall >::type &node) override
Definition: lookup_visitor.cpp:569
nmodl::visitor::MetaAstLookupVisitor::visit_compartment
void visit_compartment(typename visit_arg_trait< ast::Compartment >::type &node) override
Definition: lookup_visitor.cpp:769
nmodl::visitor::MetaAstLookupVisitor::visit_expression
void visit_expression(typename visit_arg_trait< ast::Expression >::type &node) override
Definition: lookup_visitor.cpp:41
nmodl::visitor::MetaAstLookupVisitor::visit_else_if_statement
void visit_else_if_statement(typename visit_arg_trait< ast::ElseIfStatement >::type &node) override
Definition: lookup_visitor.cpp:721
nmodl::visitor::MetaAstLookupVisitor::visit_define
void visit_define(typename visit_arg_trait< ast::Define >::type &node) override
Definition: lookup_visitor.cpp:641
nmodl::visitor::MetaAstLookupVisitor::visit_unit_block
void visit_unit_block(typename visit_arg_trait< ast::UnitBlock >::type &node) override
Definition: lookup_visitor.cpp:425
nmodl::visitor::MetaAstLookupVisitor::visit_useion
void visit_useion(typename visit_arg_trait< ast::Useion >::type &node) override
Definition: lookup_visitor.cpp:825
nmodl::visitor::MetaAstLookupVisitor::visit_global_var
void visit_global_var(typename visit_arg_trait< ast::GlobalVar >::type &node) override
Definition: lookup_visitor.cpp:201
nmodl::visitor::MetaAstLookupVisitor::visit_unary_operator
void visit_unary_operator(typename visit_arg_trait< ast::UnaryOperator >::type &node) override
Definition: lookup_visitor.cpp:505
nmodl::visitor::MetaAstLookupVisitor::visit_local_var
void visit_local_var(typename visit_arg_trait< ast::LocalVar >::type &node) override
Definition: lookup_visitor.cpp:465
nmodl::visitor::MetaAstLookupVisitor::visit_ba_block
void visit_ba_block(typename visit_arg_trait< ast::BABlock >::type &node) override
Definition: lookup_visitor.cpp:401
nmodl::visitor::MetaAstLookupVisitor::visit_neuron_block
void visit_neuron_block(typename visit_arg_trait< ast::NeuronBlock >::type &node) override
Definition: lookup_visitor.cpp:441
nmodl::visitor::MetaAstLookupVisitor::visit_model
void visit_model(typename visit_arg_trait< ast::Model >::type &node) override
Definition: lookup_visitor.cpp:633
nmodl::visitor::MetaAstLookupVisitor::visit_after_block
void visit_after_block(typename visit_arg_trait< ast::AfterBlock >::type &node) override
Definition: lookup_visitor.cpp:393
nmodl::ast::AstNodeType
AstNodeType
Enum type for every AST node type.
Definition: ast_decl.hpp:164
nmodl::visitor::MetaAstLookupVisitor::visit_global
void visit_global(typename visit_arg_trait< ast::Global >::type &node) override
Definition: lookup_visitor.cpp:857
nmodl::visitor::MetaAstLookupVisitor::visit_if_statement
void visit_if_statement(typename visit_arg_trait< ast::IfStatement >::type &node) override
Definition: lookup_visitor.cpp:713
nmodl::visitor::MetaAstLookupVisitor::visit_nonspecific
void visit_nonspecific(typename visit_arg_trait< ast::Nonspecific >::type &node) override
Definition: lookup_visitor.cpp:833
nmodl::visitor::MetaAstLookupVisitor::visit_limits
void visit_limits(typename visit_arg_trait< ast::Limits >::type &node) override
Definition: lookup_visitor.cpp:473
nmodl::visitor::MetaAstLookupVisitor::visit_factor_def
void visit_factor_def(typename visit_arg_trait< ast::FactorDef >::type &node) override
Definition: lookup_visitor.cpp:601
nmodl::visitor::MetaAstLookupVisitor::visit_net_receive_block
void visit_net_receive_block(typename visit_arg_trait< ast::NetReceiveBlock >::type &node) override
Definition: lookup_visitor.cpp:361
nmodl::visitor::MetaAstLookupVisitor::visit_range
void visit_range(typename visit_arg_trait< ast::Range >::type &node) override
Definition: lookup_visitor.cpp:849
nmodl::visitor::MetaAstLookupVisitor::visit_non_linear_block
void visit_non_linear_block(typename visit_arg_trait< ast::NonLinearBlock >::type &node) override
Definition: lookup_visitor.cpp:321
nmodl::visitor::MetaAstLookupVisitor::visit_thread_safe
void visit_thread_safe(typename visit_arg_trait< ast::ThreadSafe >::type &node) override
Definition: lookup_visitor.cpp:897
nmodl::visitor::MetaAstLookupVisitor::visit_var_name
void visit_var_name(typename visit_arg_trait< ast::VarName >::type &node) override
Definition: lookup_visitor.cpp:137
nmodl::visitor::MetaAstLookupVisitor::visit_react_var_name
void visit_react_var_name(typename visit_arg_trait< ast::ReactVarName >::type &node) override
Definition: lookup_visitor.cpp:153
nmodl::visitor::MetaAstLookupVisitor::visit_wrapped_expression
void visit_wrapped_expression(typename visit_arg_trait< ast::WrappedExpression >::type &node) override
Definition: lookup_visitor.cpp:969
nmodl::visitor::MetaAstLookupVisitor::visit_constant_statement
void visit_constant_statement(typename visit_arg_trait< ast::ConstantStatement >::type &node) override
Definition: lookup_visitor.cpp:801
nmodl::visitor::MetaAstLookupVisitor::visit_solve_block
void visit_solve_block(typename visit_arg_trait< ast::SolveBlock >::type &node) override
Definition: lookup_visitor.cpp:369
nmodl::visitor::MetaAstLookupVisitor::visit_reaction_operator
void visit_reaction_operator(typename visit_arg_trait< ast::ReactionOperator >::type &node) override
Definition: lookup_visitor.cpp:513
nmodl::visitor::MetaAstLookupVisitor::visit_prime_name
void visit_prime_name(typename visit_arg_trait< ast::PrimeName >::type &node) override
Definition: lookup_visitor.cpp:121
nmodl::visitor::MetaAstLookupVisitor::visit_watch_statement
void visit_watch_statement(typename visit_arg_trait< ast::WatchStatement >::type &node) override
Definition: lookup_visitor.cpp:737
nmodl::visitor::MetaAstLookupVisitor::visit_protect_statement
void visit_protect_statement(typename visit_arg_trait< ast::ProtectStatement >::type &node) override
Definition: lookup_visitor.cpp:689
nmodl::visitor::MetaAstLookupVisitor::visit_initial_block
void visit_initial_block(typename visit_arg_trait< ast::InitialBlock >::type &node) override
Definition: lookup_visitor.cpp:273
nmodl::visitor::MetaAstLookupVisitor::visit_random_var_list
void visit_random_var_list(typename visit_arg_trait< ast::RandomVarList >::type &node) override
Definition: lookup_visitor.cpp:865
nmodl::visitor::MetaAstLookupVisitor::lookup
const nodes_t & lookup(ast_t &node)
nmodl::visitor::MetaAstLookupVisitor::visit_discrete_block
void visit_discrete_block(typename visit_arg_trait< ast::DiscreteBlock >::type &node) override
Definition: lookup_visitor.cpp:329
nmodl::visitor::MetaAstLookupVisitor::visit_program
void visit_program(typename visit_arg_trait< ast::Program >::type &node) override
Definition: lookup_visitor.cpp:937
nmodl::visitor::MetaAstLookupVisitor::visit_constant_block
void visit_constant_block(typename visit_arg_trait< ast::ConstantBlock >::type &node) override
Definition: lookup_visitor.cpp:433
nmodl::visitor::MetaAstLookupVisitor::visit_block_comment
void visit_block_comment(typename visit_arg_trait< ast::BlockComment >::type &node) override
Definition: lookup_visitor.cpp:921
nmodl::visitor::MetaAstLookupVisitor::visit_external
void visit_external(typename visit_arg_trait< ast::External >::type &node) override
Definition: lookup_visitor.cpp:889
nmodl::visitor::MetaAstLookupVisitor::visit_number_range
void visit_number_range(typename visit_arg_trait< ast::NumberRange >::type &node) override
Definition: lookup_visitor.cpp:481
nmodl::visitor::MetaAstLookupVisitor::visit_statement
void visit_statement(typename visit_arg_trait< ast::Statement >::type &node) override
Definition: lookup_visitor.cpp:33
nmodl::visitor::MetaAstLookupVisitor::visit_electrode_current
void visit_electrode_current(typename visit_arg_trait< ast::ElectrodeCurrent >::type &node) override
Definition: lookup_visitor.cpp:841
nmodl::visitor::MetaAstLookupVisitor::visit_binary_operator
void visit_binary_operator(typename visit_arg_trait< ast::BinaryOperator >::type &node) override
Definition: lookup_visitor.cpp:497
nmodl::visitor::MetaAstLookupVisitor::visit_write_ion_var
void visit_write_ion_var(typename visit_arg_trait< ast::WriteIonVar >::type &node) override
Definition: lookup_visitor.cpp:169
nmodl::visitor::MetaAstLookupVisitor::visit_include
void visit_include(typename visit_arg_trait< ast::Include >::type &node) override
Definition: lookup_visitor.cpp:649
nmodl::visitor::MetaAstLookupVisitor::visit_for_netcon
void visit_for_netcon(typename visit_arg_trait< ast::ForNetcon >::type &node) override
Definition: lookup_visitor.cpp:409
nmodl::visitor::MetaAstLookupVisitor::visit_destructor_block
void visit_destructor_block(typename visit_arg_trait< ast::DestructorBlock >::type &node) override
Definition: lookup_visitor.cpp:289
nmodl::visitor::MetaAstLookupVisitor::visit_assigned_block
void visit_assigned_block(typename visit_arg_trait< ast::AssignedBlock >::type &node) override
Definition: lookup_visitor.cpp:257
nmodl::visitor::MetaAstLookupVisitor::visit_node
void visit_node(typename visit_arg_trait< ast::Node >::type &node) override
Definition: lookup_visitor.cpp:25
nmodl::visitor::MetaAstLookupVisitor::visit_name
void visit_name(typename visit_arg_trait< ast::Name >::type &node) override
Definition: lookup_visitor.cpp:113
nmodl::visitor::MetaAstLookupVisitor::visit_bbcore_pointer_var
void visit_bbcore_pointer_var(typename visit_arg_trait< ast::BbcorePointerVar >::type &node) override
Definition: lookup_visitor.cpp:225
nmodl::visitor::MetaAstLookupVisitor::visit_derivative_block
void visit_derivative_block(typename visit_arg_trait< ast::DerivativeBlock >::type &node) override
Definition: lookup_visitor.cpp:305
nmodl::visitor::MetaAstLookupVisitor::visit_unary_expression
void visit_unary_expression(typename visit_arg_trait< ast::UnaryExpression >::type &node) override
Definition: lookup_visitor.cpp:545
nmodl::visitor::MetaAstLookupVisitor::visit_block
void visit_block(typename visit_arg_trait< ast::Block >::type &node) override
Definition: lookup_visitor.cpp:49
nmodl::visitor::MetaAstLookupVisitor::visit_solution_expression
void visit_solution_expression(typename visit_arg_trait< ast::SolutionExpression >::type &node) override
Definition: lookup_visitor.cpp:985
nmodl::visitor::MetaAstLookupVisitor::visit_paren_expression
void visit_paren_expression(typename visit_arg_trait< ast::ParenExpression >::type &node) override
Definition: lookup_visitor.cpp:521
nmodl::visitor::MetaAstLookupVisitor::visit_while_statement
void visit_while_statement(typename visit_arg_trait< ast::WhileStatement >::type &node) override
Definition: lookup_visitor.cpp:705
nmodl::visitor::MetaAstLookupVisitor::visit_update_dt
void visit_update_dt(typename visit_arg_trait< ast::UpdateDt >::type &node) override
Definition: lookup_visitor.cpp:993
nmodl::visitor::MetaAstLookupVisitor::visit_indexed_name
void visit_indexed_name(typename visit_arg_trait< ast::IndexedName >::type &node) override
Definition: lookup_visitor.cpp:129
nmodl::visitor::MetaAstLookupVisitor::visit_lin_equation
void visit_lin_equation(typename visit_arg_trait< ast::LinEquation >::type &node) override
Definition: lookup_visitor.cpp:561
nmodl::visitor::MetaAstLookupVisitor::visit_electrode_cur_var
void visit_electrode_cur_var(typename visit_arg_trait< ast::ElectrodeCurVar >::type &node) override
Definition: lookup_visitor.cpp:185
nmodl::visitor::MetaAstLookupVisitor::visit_unit
void visit_unit(typename visit_arg_trait< ast::Unit >::type &node) override
Definition: lookup_visitor.cpp:449
nmodl::visitor::MetaAstLookupVisitor::visit_function_table_block
void visit_function_table_block(typename visit_arg_trait< ast::FunctionTableBlock >::type &node) override
Definition: lookup_visitor.cpp:337
nmodl::visitor::MetaAstLookupVisitor::visit_identifier
void visit_identifier(typename visit_arg_trait< ast::Identifier >::type &node) override
Definition: lookup_visitor.cpp:57
nmodl::visitor::MetaAstLookupVisitor::visit_string
void visit_string(typename visit_arg_trait< ast::String >::type &node) override
Definition: lookup_visitor.cpp:73
nmodl::visitor::MetaAstLookupVisitor::visit_bbcore_pointer
void visit_bbcore_pointer(typename visit_arg_trait< ast::BbcorePointer >::type &node) override
Definition: lookup_visitor.cpp:881
nmodl::visitor::MetaAstLookupVisitor::visit_mutex_lock
void visit_mutex_lock(typename visit_arg_trait< ast::MutexLock >::type &node) override
Definition: lookup_visitor.cpp:745
nmodl::visitor::MetaAstLookupVisitor::visit_nonspecific_cur_var
void visit_nonspecific_cur_var(typename visit_arg_trait< ast::NonspecificCurVar >::type &node) override
Definition: lookup_visitor.cpp:177
nmodl::visitor::MetaAstLookupVisitor::visit_param_block
void visit_param_block(typename visit_arg_trait< ast::ParamBlock >::type &node) override
Definition: lookup_visitor.cpp:241
nmodl::visitor::MetaAstLookupVisitor::visit_double_unit
void visit_double_unit(typename visit_arg_trait< ast::DoubleUnit >::type &node) override
Definition: lookup_visitor.cpp:457
nmodl::visitor::MetaAstLookupVisitor::visit_integer
void visit_integer(typename visit_arg_trait< ast::Integer >::type &node) override
Definition: lookup_visitor.cpp:81
nmodl::visitor::MetaAstLookupVisitor::visit_mutex_unlock
void visit_mutex_unlock(typename visit_arg_trait< ast::MutexUnlock >::type &node) override
Definition: lookup_visitor.cpp:753
nmodl::visitor::MetaAstLookupVisitor::visit_breakpoint_block
void visit_breakpoint_block(typename visit_arg_trait< ast::BreakpointBlock >::type &node) override
Definition: lookup_visitor.cpp:377
nmodl::visitor::MetaAstLookupVisitor::visit_diff_eq_expression
void visit_diff_eq_expression(typename visit_arg_trait< ast::DiffEqExpression >::type &node) override
Definition: lookup_visitor.cpp:537
nmodl::visitor::MetaAstLookupVisitor::visit_procedure_block
void visit_procedure_block(typename visit_arg_trait< ast::ProcedureBlock >::type &node) override
Definition: lookup_visitor.cpp:353
nmodl::visitor::MetaAstLookupVisitor::visit_nrn_state_block
void visit_nrn_state_block(typename visit_arg_trait< ast::NrnStateBlock >::type &node) override
Definition: lookup_visitor.cpp:945
nmodl::visitor::MetaAstLookupVisitor::visit_number
void visit_number(typename visit_arg_trait< ast::Number >::type &node) override
Definition: lookup_visitor.cpp:65
nmodl::visitor::MetaAstLookupVisitor::visit_extern_var
void visit_extern_var(typename visit_arg_trait< ast::ExternVar >::type &node) override
Definition: lookup_visitor.cpp:233
nmodl::visitor::MetaAstLookupVisitor::visit_param_assign
void visit_param_assign(typename visit_arg_trait< ast::ParamAssign >::type &node) override
Definition: lookup_visitor.cpp:657
nmodl::visitor::MetaAstLookupVisitor::visit_arg_trait
typename std::conditional< is_const_visitor, std::add_const< T >, identity< T > >::type visit_arg_trait
Definition: lookup_visitor.hpp:44
nmodl::visitor::MetaAstLookupVisitor::visit_double
void visit_double(typename visit_arg_trait< ast::Double >::type &node) override
Definition: lookup_visitor.cpp:97
nmodl::visitor::MetaAstLookupVisitor::visit_eigen_linear_solver_block
void visit_eigen_linear_solver_block(typename visit_arg_trait< ast::EigenLinearSolverBlock >::type &node) override
Definition: lookup_visitor.cpp:961
nmodl::visitor::MetaAstLookupVisitor::visit_binary_expression
void visit_binary_expression(typename visit_arg_trait< ast::BinaryExpression >::type &node) override
Definition: lookup_visitor.cpp:529
nmodl::visitor::MetaAstLookupVisitor::visit_conductance_hint
void visit_conductance_hint(typename visit_arg_trait< ast::ConductanceHint >::type &node) override
Definition: lookup_visitor.cpp:673
lookup_visitor.hpp
THIS FILE IS GENERATED AT BUILD TIME AND SHALL NOT BE EDITED.
nmodl::visitor::MetaAstLookupVisitor::visit_eigen_newton_solver_block
void visit_eigen_newton_solver_block(typename visit_arg_trait< ast::EigenNewtonSolverBlock >::type &node) override
Definition: lookup_visitor.cpp:953
nmodl::visitor::MetaAstLookupVisitor::visit_random_var
void visit_random_var(typename visit_arg_trait< ast::RandomVar >::type &node) override
Definition: lookup_visitor.cpp:217
nmodl::visitor::MetaAstLookupVisitor::visit_float
void visit_float(typename visit_arg_trait< ast::Float >::type &node) override
Definition: lookup_visitor.cpp:89
nmodl::visitor::MetaAstLookupVisitor::visit_conserve
void visit_conserve(typename visit_arg_trait< ast::Conserve >::type &node) override
Definition: lookup_visitor.cpp:761
nmodl::visitor::MetaAstLookupVisitor::visit_argument
void visit_argument(typename visit_arg_trait< ast::Argument >::type &node) override
Definition: lookup_visitor.cpp:145
nmodl::visitor::MetaAstLookupVisitor::visit_table_statement
void visit_table_statement(typename visit_arg_trait< ast::TableStatement >::type &node) override
Definition: lookup_visitor.cpp:809
nmodl::visitor::MetaAstLookupVisitor::visit_unit_def
void visit_unit_def(typename visit_arg_trait< ast::UnitDef >::type &node) override
Definition: lookup_visitor.cpp:593
nmodl::visitor::MetaAstLookupVisitor::visit_statement_block
void visit_statement_block(typename visit_arg_trait< ast::StatementBlock >::type &node) override
Definition: lookup_visitor.cpp:297
nmodl::visitor::MetaAstLookupVisitor::visit_suffix
void visit_suffix(typename visit_arg_trait< ast::Suffix >::type &node) override
Definition: lookup_visitor.cpp:817
nmodl::visitor::MetaAstLookupVisitor::visit_reaction_statement
void visit_reaction_statement(typename visit_arg_trait< ast::ReactionStatement >::type &node) override
Definition: lookup_visitor.cpp:785
nmodl::visitor::MetaAstLookupVisitor::visit_valence
void visit_valence(typename visit_arg_trait< ast::Valence >::type &node) override
Definition: lookup_visitor.cpp:609
all.hpp
Auto generated AST classes declaration.
nmodl::visitor::MetaAstLookupVisitor::visit_constant_var
void visit_constant_var(typename visit_arg_trait< ast::ConstantVar >::type &node) override
Definition: lookup_visitor.cpp:489
nmodl::visitor::MetaAstLookupVisitor::visit_watch
void visit_watch(typename visit_arg_trait< ast::Watch >::type &node) override
Definition: lookup_visitor.cpp:577
nmodl::visitor::MetaAstLookupVisitor::visit_from_statement
void visit_from_statement(typename visit_arg_trait< ast::FromStatement >::type &node) override
Definition: lookup_visitor.cpp:697