@Override public JSType caseVoidType() { return matchesExpectation("undefined") ? getNativeType(VOID_TYPE) : null; } }
@Override public JSType caseUnknownType() { return caseTopType(getNativeType(CHECKED_UNKNOWN_TYPE)); }
/** * Delegates the calculation of the preciser scope to the next link. * If there is no next link, returns the blind scope. */ protected FlowScope nextPreciserScopeKnowingConditionOutcome(Node condition, FlowScope blindScope, boolean outcome) { return nextLink != null ? nextLink.getPreciserScopeKnowingConditionOutcome( condition, blindScope, outcome) : blindScope; }
@Override public ReverseAbstractInterpreter getReverseAbstractInterpreter() { if (abstractInterpreter == null) { ChainableReverseAbstractInterpreter interpreter = new SemanticReverseAbstractInterpreter(getTypeRegistry()); if (options.closurePass) { interpreter = new ClosureReverseAbstractInterpreter(getTypeRegistry()) .append(interpreter).getFirst(); } abstractInterpreter = interpreter; } return abstractInterpreter; }
@Override public JSType caseNoObjectType() { return getNativeType(NO_OBJECT_TYPE); }
@Override public JSType caseNumberType() { return matchesExpectation("number") ? getNativeType(NUMBER_TYPE) : null; }
@Override public JSType caseAllType() { return caseTopType(getNativeType(ALL_TYPE)); }
@Override public JSType caseUnknownType() { return getNativeType(UNKNOWN_TYPE); }
@Override public JSType caseBooleanType() { return matchesExpectation("boolean") ? getNativeType(BOOLEAN_TYPE) : null; }
@Override public JSType caseUnknownType() { return caseTopType(getNativeType(CHECKED_UNKNOWN_TYPE)); }
@Override public JSType caseStringType() { return getNativeType(STRING_TYPE); }
@Override public JSType caseSymbolType() { return matchesExpectation("symbol") ? getNativeType(SYMBOL_TYPE) : null; }
@Override public JSType caseAllType() { return caseTopType(getNativeType(ALL_TYPE)); }
@Override public JSType caseUnknownType() { return getNativeType(UNKNOWN_TYPE); }
@Override public JSType caseVoidType() { return matchesExpectation("undefined") ? getNativeType(VOID_TYPE) : null; } }
@Override public JSType caseNullType() { return matchesExpectation("object") ? getNativeType(NULL_TYPE) : null; }
@Override public JSType caseStringType() { return matchesExpectation("string") ? getNativeType(STRING_TYPE) : null; }
@Override public JSType caseNullType() { return matchesExpectation("object") ? getNativeType(NULL_TYPE) : null; }
@Override public JSType caseBooleanType() { return matchesExpectation("boolean") ? getNativeType(BOOLEAN_TYPE) : null; }
@Override public JSType caseNumberType() { return matchesExpectation("number") ? getNativeType(NUMBER_TYPE) : null; }