gcc.Tree
operators by symbol¶
The following shows the symbol used for each expression subclass in debug dumps, as returned by the various get_symbol() class methods.
There are some duplicates (e.g. - is used for both gcc.MinusExpr
as an infix binary operator, and by gcc.NegateExpr
as a prefixed
unary operator).
Class get_symbol() gcc.AddrExpr
& gcc.BitAndExpr
& gcc.BitIorExpr
| gcc.BitNotExpr
~ gcc.BitXorExpr
^ gcc.CeilDivExpr
/[cl] gcc.CeilModExpr
%[cl] gcc.EqExpr
== gcc.ExactDivExpr
/[ex] gcc.FloorDivExpr
/[fl] gcc.FloorModExpr
%[fl] gcc.GeExpr
>= gcc.GtExpr
> gcc.IndirectRef
* gcc.LeExpr
<= gcc.LrotateExpr
r<< gcc.LshiftExpr
<< gcc.LtExpr
< gcc.LtgtExpr
<> gcc.MaxExpr
max gcc.MinExpr
min gcc.MinusExpr
- gcc.ModifyExpr
= gcc.MultExpr
* gcc.NeExpr
!= gcc.NegateExpr
- gcc.OrderedExpr
ord gcc.PlusExpr
+ gcc.PointerPlusExpr
+ gcc.PostdecrementExpr
– gcc.PostincrementExpr
++ gcc.PredecrementExpr
– gcc.PreincrementExpr
++ gcc.RdivExpr
/ gcc.ReducPlusExpr
r+ gcc.RoundDivExpr
/[rd] gcc.RoundModExpr
%[rd] gcc.RrotateExpr
r>> gcc.RshiftExpr
>> gcc.TruncDivExpr
/ gcc.TruncModExpr
% gcc.TruthAndExpr
&& gcc.TruthAndifExpr
&& gcc.TruthNotExpr
! gcc.TruthOrExpr
|| gcc.TruthOrifExpr
|| gcc.TruthXorExpr
^ gcc.UneqExpr
u== gcc.UngeExpr
u>= gcc.UngtExpr
u> gcc.UnleExpr
u<= gcc.UnltExpr
u< gcc.UnorderedExpr
unord gcc.VecLshiftExpr
v<< gcc.VecRshiftExpr
v>> gcc.WidenMultExpr
w* gcc.WidenSumExpr
w+