CC: Adjusted handling of parser data.

Renamed ParserData to ParserCtx, and take it by reference-to-const.
Also take Scopes by reference, since they are no longer reference-counted.