Functional calls connect the densest, therefore
2 * mod 3 2
coincides with
2 * (mod 3 2)
Keep in mind that mod not used as an operator here, as there are no backlinks.
Now that mod used in infix form, it has priority 7, which also has (*) . Since they have the same predictability and are left-associative, they are simply analyzed from left to right:
(2 * 3) `mod` 2
source share