> Do not use cast unless you're doing Quake-fast-sqrt level stuff.

I know, I'm not sure if `rType()` is possible.

> The thing is, you can't make a method that returns the value of each of your 
> objects, because what would be the return type of such a method?

That's why I'm trying to get runtime type as variable. Some hodgepodge is 
possible with a field `tokenType: typedesc` that's set when creating object, 
but that's ugly...

Reply via email to