class ChainableReverseAbstractInterpreter {
public JSType caseFunctionType(FunctionType type) {
return type;
}
}
class ChainableReverseAbstractInterpreter {
public JSType caseFunctionType(FunctionType type) {
return type;
}
}
class ChainableReverseAbstractInterpreter.RestrictByTrueTypeOfResultVisitor {
public JSType caseFunctionType(FunctionType type) {
return null;
}
}
class ChainableReverseAbstractInterpreter.RestrictByFalseTypeOfResultVisitor {
public JSType caseFunctionType(FunctionType type) {
return type;
}
}
class ChainableReverseAbstractInterpreter.RestrictByOneTypeOfResultVisitor {
public JSType caseFunctionType(FunctionType type) {
return matchesExpectation("function") ? type : null;
}
}
|