Check token.constructor for Number in trace.

Running node parserTests --trace fails.

Change-Id: I61c891bdb152982d8f20cca5decd070aee5fd37f