So, in other words, you don't need any of this casting (and it would cause issues too with various types of ParseNodes that can be evaluated as above, but aren't castable to LiteralExpression).