precedence property
Return the precedence of this expression.
The precedence is a positive integer value that defines how the source
code is parsed into an AST. For example a * b + c
is parsed as `(a * b)
- c
because the precedence of
*is greater than the precedence of
+`.
Implementation
@override
// TODO(brianwilkerson) Create a new precedence constant for pattern
// assignments. The proposal doesn't make the actual value clear.
Precedence get precedence => Precedence.assignment;