Resolve cast/call grammar ambiguity.
expression that might be a cast, might be a call
context
null means leave as is, !=null means rewritten AST
See Implementation
Resolve cast/call grammar ambiguity.