@Override
    protected void doResolve(TypeContext context) {
        for (Expression exp : cases.values())
            context.resolve(exp);
        context.resolve(defaultExp);
    }
The default expression, or null if none
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/SwitchExpression.java