public TypeContext clear() {
        variableTypes.clear();
        return this;
    }
Returns the type of the given field.
indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/TypeContext.java