mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 14:26:40 +00:00
The presence or absence of whitespace is used to determine which operator is in use, following the rules described in #520. Support for prefix * dereference operator follows #523. Co-authored-by: Geoff Romer <gromer@google.com>
This commit is contained in:
1 parent
d6b47ba10f
commit
89e21113c3
12 files changed
+179
-21
No files matched your search
@@ -42,11 +42,14 @@ enum class ExpressionKind {
|
||||
enum class Operator {
|
||||
Add,
|
||||
And,
|
||||
Deref,
|
||||
Eq,
|
||||
Mul,
|
||||
Neg,
|
||||
Not,
|
||||
Or,
|
||||
Sub,
|
||||
Ptr,
|
||||
};
|
||||
|
||||
struct Expression;
|
||||
|
||||
Reference in new issue
Block a user