line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package GCC::Tree; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# This class does nothing special except keep the internal goodies out of |
4
|
|
|
|
|
|
|
# GCC::TranslationUnit |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# For a full description of the GCC tree structure, download the GCC source; |
7
|
|
|
|
|
|
|
# read gcc/doc/c-tree.texi for the detailed overview, gcc/tree.def for the |
8
|
|
|
|
|
|
|
# C/Pascal tree nodes, and gcc/cp/cp-tree.def for the C++ tree nodes. |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# I swear, it's all well commented; especially compared to MY code! |
11
|
|
|
|
|
|
|
# |
12
|
1
|
|
|
1
|
|
465
|
use GCC::Node::Exceptional; # 'x' |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
26
|
|
13
|
1
|
|
|
1
|
|
3032
|
use GCC::Node::Type; # 't' |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
26
|
|
14
|
1
|
|
|
1
|
|
868
|
use GCC::Node::Block; # 'b' |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
15
|
1
|
|
|
1
|
|
726
|
use GCC::Node::Constant; # 'c' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
16
|
1
|
|
|
1
|
|
2028
|
use GCC::Node::Declaration; # 'd' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
30
|
|
17
|
1
|
|
|
1
|
|
752
|
use GCC::Node::Reference; # 'r' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
22
|
|
18
|
1
|
|
|
1
|
|
886
|
use GCC::Node::Comparison; # '>' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
19
|
1
|
|
|
1
|
|
757
|
use GCC::Node::Unary; # '1' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
20
|
1
|
|
|
1
|
|
593
|
use GCC::Node::Binary; # '2' |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
21
|
1
|
|
|
1
|
|
707
|
use GCC::Node::SideEffect; # 's' |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
28
|
|
22
|
1
|
|
|
1
|
|
643
|
use GCC::Node::Expression; # 'e' |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
635
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
package GCC::Node; |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
|
|
sub chain {} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |