discriminant for switch statements is a Rhino AST node, not a string