Chromium Code Reviews
DescriptionGet rid of returnTypeOfElement (abstract) and typeOfElementWithSelector (concrete method assuming the existence of returnTypeOfElement) in InferrerEngine. Since typeOfElementWithSelector is used in several inferrers (InternalSimpleTypesInferrer and TypeGraphInferrerEngine), move the two methods in a new SimpleInferrerEngine class and use it in lieu of InferrerEngine where necessary. Modify SimpleTypeInferrerVisitor to use the return type of registerCalledElement whenever returnTypeOfElement was used.
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
||||||||||||||||||||||||||||