Move the code for parsing indexed expressions from the grammar to TParseContext.

TRAC #23509

Signed-off-by: Shannon Woods
Signed-off-by: Nicolas Capens
Authored-by: Jamie Madill
5 files changed