bit ops
This commit is contained in:
@@ -157,6 +157,9 @@ pub const BinaryOp = struct {
|
||||
or_op,
|
||||
bit_and,
|
||||
bit_or,
|
||||
bit_xor,
|
||||
shl,
|
||||
shr,
|
||||
in_op,
|
||||
};
|
||||
};
|
||||
@@ -173,6 +176,7 @@ pub const UnaryOp = struct {
|
||||
pub const Op = enum {
|
||||
negate,
|
||||
not,
|
||||
bit_not,
|
||||
xx,
|
||||
address_of,
|
||||
};
|
||||
@@ -231,6 +235,11 @@ pub const Assignment = struct {
|
||||
mul_assign,
|
||||
div_assign,
|
||||
mod_assign,
|
||||
and_assign,
|
||||
or_assign,
|
||||
xor_assign,
|
||||
shl_assign,
|
||||
shr_assign,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user