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.LrotateExprr<<
gcc.LshiftExpr<<
gcc.LtExpr<
gcc.LtgtExpr<>
gcc.MaxExprmax
gcc.MinExprmin
gcc.MinusExpr-
gcc.ModifyExpr=
gcc.MultExpr*
gcc.NeExpr!=
gcc.NegateExpr-
gcc.OrderedExprord
gcc.PlusExpr+
gcc.PointerPlusExpr+
gcc.PostdecrementExpr–
gcc.PostincrementExpr++
gcc.PredecrementExpr–
gcc.PreincrementExpr++
gcc.RdivExpr/
gcc.ReducPlusExprr+
gcc.RoundDivExpr/[rd]
gcc.RoundModExpr%[rd]
gcc.RrotateExprr>>
gcc.RshiftExpr>>
gcc.TruncDivExpr/
gcc.TruncModExpr%
gcc.TruthAndExpr&&
gcc.TruthAndifExpr&&
gcc.TruthNotExpr!
gcc.TruthOrExpr||
gcc.TruthOrifExpr||
gcc.TruthXorExpr^
gcc.UneqExpru==
gcc.UngeExpru>=
gcc.UngtExpru>
gcc.UnleExpru<=
gcc.UnltExpru<
gcc.UnorderedExprunord
gcc.VecLshiftExprv<<
gcc.VecRshiftExprv>>
gcc.WidenMultExprw*
gcc.WidenSumExprw+