Currently the CAST type can be just an IDENT as specified by the identifier grammar rule (see the exprList rule as relates to nodes of type METHOD_CALL).
Similar concern with TRIM and other "special needs" functions. This is the choice between handling them generically with other function calls versus handling specifically.
|