 | language-c-0.3.1.1: Analysis and generation of C code | Contents | Index |
|
| Language.C.Syntax.Ops | | Portability | ghc | | Stability | experimental | | Maintainer | benedikt.huber@gmail.com |
|
|
|
|
|
| Description |
| Unary, binary and asssignment operators. Exported via AST.
|
|
| Synopsis |
|
|
|
|
| Assignment operators
|
|
| data CAssignOp |
| C assignment operators (K&R A7.17)
| | Constructors | | CAssignOp | | | CMulAssOp | | | CDivAssOp | | | CRmdAssOp | remainder and assignment
| | CAddAssOp | | | CSubAssOp | | | CShlAssOp | | | CShrAssOp | | | CAndAssOp | | | CXorAssOp | | | COrAssOp | |
| Instances | |
|
|
| Unary operators
|
|
| data CUnaryOp |
| C unary operator (K&R A7.3-4)
| | Constructors | | CPreIncOp | prefix increment operator
| | CPreDecOp | prefix decrement operator
| | CPostIncOp | postfix increment operator
| | CPostDecOp | postfix decrement operator
| | CAdrOp | address operator
| | CIndOp | indirection operator
| | CPlusOp | prefix plus
| | CMinOp | prefix minus
| | CCompOp | one's complement
| | CNegOp | logical negation
|
| Instances | |
|
|
| Binary operators
|
|
| data CBinaryOp |
| C binary operators (K&R A7.6-15)
| | Constructors | | CMulOp | | | CDivOp | | | CRmdOp | remainder of division
| | CAddOp | | | CSubOp | | | CShlOp | shift left
| | CShrOp | shift right
| | CLeOp | less
| | CGrOp | greater
| | CLeqOp | less or equal
| | CGeqOp | greater or equal
| | CEqOp | equal
| | CNeqOp | not equal
| | CAndOp | bitwise and
| | CXorOp | exclusive bitwise or
| | COrOp | inclusive bitwise or
| | CLndOp | logical and
| | CLorOp | logical or
|
| Instances | |
|
|
| Produced by Haddock version 2.7.2 |