making getNumber work with LiteralTokens
completely removed literal type