Ops2 declares an enumeration type of the binary operators of the MiniC language (this makes is flexible to add operators). Available operators are:
Union case | Description |
Full Usage:
AddN
|
|
Full Usage:
AddZ
|
|
Full Usage:
AndB
|
|
Full Usage:
DivN
|
|
Full Usage:
DivZ
|
|
Full Usage:
EqqB
|
|
Full Usage:
EqqN
|
|
Full Usage:
EqqZ
|
|
Full Usage:
LeqN
|
|
Full Usage:
LeqZ
|
|
Full Usage:
LesN
|
|
Full Usage:
LesZ
|
|
Full Usage:
ModN
|
|
Full Usage:
ModZ
|
|
Full Usage:
MulN
|
|
Full Usage:
MulZ
|
|
Full Usage:
NeqB
|
|
Full Usage:
NeqN
|
|
Full Usage:
NeqZ
|
|
Full Usage:
OrB
|
|
Full Usage:
SubN
|
|
Full Usage:
SubZ
|
|
Instance member | Description |
Full Usage:
this.getName ()
Returns: string
|
|