Scala 运算符优先顺序

PRECEDENCE RULES

The precedence of an operator is determined by its first character.

The following table lists the characters in increasing order of priority precedence:

(all letters)
|
^
&
< >
= !
:
+ -
* / %
(all other special characters)
原文地址:https://www.cnblogs.com/wanshiming/p/12880804.html