Convert this expression to an int, requires that this expression is a Numeral.
int toInt() { if (this is Numeral) { return (this as Numeral).toInt(); } else { throw ArgumentError('cant be converted to int: $this'); } }