Precedence.forTokenType constructor
Precedence.forTokenType(
- TokenType type
Constructs the precedence for a unary or binary expression constructed
from an operator of the given type
.
Implementation
Precedence.forTokenType(TokenType type) : this._(type.precedence);