Lines 316-327
Link Here
|
316 |
} else if (binding instanceof ICPPField) { |
316 |
} else if (binding instanceof ICPPField) { |
317 |
pdomBinding = new PDOMCPPFieldSpecialization(pdom, parent, |
317 |
pdomBinding = new PDOMCPPFieldSpecialization(pdom, parent, |
318 |
(ICPPField) binding, pdomSpecialized); |
318 |
(ICPPField) binding, pdomSpecialized); |
319 |
} else if (binding instanceof ICPPConstructor) { |
|
|
320 |
pdomBinding = new PDOMCPPConstructorSpecialization(pdom, parent, |
321 |
(ICPPConstructor) binding, pdomSpecialized); |
322 |
} else if (binding instanceof ICPPMethod) { |
323 |
pdomBinding = new PDOMCPPMethodSpecialization(pdom, parent, |
324 |
(ICPPMethod) binding, pdomSpecialized); |
325 |
} else if (binding instanceof ICPPFunctionTemplate) { |
319 |
} else if (binding instanceof ICPPFunctionTemplate) { |
326 |
if (binding instanceof ICPPConstructor) { |
320 |
if (binding instanceof ICPPConstructor) { |
327 |
pdomBinding = new PDOMCPPConstructorTemplateSpecialization( |
321 |
pdomBinding = new PDOMCPPConstructorTemplateSpecialization( |
Lines 333-338
Link Here
|
333 |
pdomBinding = new PDOMCPPFunctionTemplateSpecialization( |
327 |
pdomBinding = new PDOMCPPFunctionTemplateSpecialization( |
334 |
pdom, parent, (ICPPFunctionTemplate) binding, pdomSpecialized); |
328 |
pdom, parent, (ICPPFunctionTemplate) binding, pdomSpecialized); |
335 |
} |
329 |
} |
|
|
330 |
} else if (binding instanceof ICPPConstructor) { |
331 |
pdomBinding = new PDOMCPPConstructorSpecialization(pdom, parent, |
332 |
(ICPPConstructor) binding, pdomSpecialized); |
333 |
} else if (binding instanceof ICPPMethod) { |
334 |
pdomBinding = new PDOMCPPMethodSpecialization(pdom, parent, |
335 |
(ICPPMethod) binding, pdomSpecialized); |
336 |
} else if (binding instanceof ICPPFunction) { |
336 |
} else if (binding instanceof ICPPFunction) { |
337 |
pdomBinding = new PDOMCPPFunctionSpecialization(pdom, parent, |
337 |
pdomBinding = new PDOMCPPFunctionSpecialization(pdom, parent, |
338 |
(ICPPFunction) binding, pdomSpecialized); |
338 |
(ICPPFunction) binding, pdomSpecialized); |
Lines 461-474
Link Here
|
461 |
return CPP_FUNCTION_INSTANCE; |
461 |
return CPP_FUNCTION_INSTANCE; |
462 |
else if (binding instanceof ICPPClassType) |
462 |
else if (binding instanceof ICPPClassType) |
463 |
return CPP_CLASS_INSTANCE; |
463 |
return CPP_CLASS_INSTANCE; |
464 |
} else if (binding instanceof ICPPClassTemplatePartialSpecialization) { |
464 |
} else if (binding instanceof ICPPClassTemplatePartialSpecialization) |
465 |
return CPP_CLASS_TEMPLATE_PARTIAL_SPEC; |
465 |
return CPP_CLASS_TEMPLATE_PARTIAL_SPEC; |
466 |
} else if (binding instanceof ICPPField) |
466 |
else if (binding instanceof ICPPField) |
467 |
return CPP_FIELD_SPECIALIZATION; |
467 |
return CPP_FIELD_SPECIALIZATION; |
468 |
else if (binding instanceof ICPPConstructor) |
|
|
469 |
return CPP_CONSTRUCTOR_SPECIALIZATION; |
470 |
else if (binding instanceof ICPPMethod) |
471 |
return CPP_METHOD_SPECIALIZATION; |
472 |
else if (binding instanceof ICPPFunctionTemplate) { |
468 |
else if (binding instanceof ICPPFunctionTemplate) { |
473 |
if (binding instanceof ICPPConstructor) |
469 |
if (binding instanceof ICPPConstructor) |
474 |
return CPP_CONSTRUCTOR_TEMPLATE_SPECIALIZATION; |
470 |
return CPP_CONSTRUCTOR_TEMPLATE_SPECIALIZATION; |
Lines 476-482
Link Here
|
476 |
return CPP_METHOD_TEMPLATE_SPECIALIZATION; |
472 |
return CPP_METHOD_TEMPLATE_SPECIALIZATION; |
477 |
else if (binding instanceof ICPPFunction) |
473 |
else if (binding instanceof ICPPFunction) |
478 |
return CPP_FUNCTION_TEMPLATE_SPECIALIZATION; |
474 |
return CPP_FUNCTION_TEMPLATE_SPECIALIZATION; |
479 |
} else if (binding instanceof ICPPFunction) |
475 |
} else if (binding instanceof ICPPConstructor) |
|
|
476 |
return CPP_CONSTRUCTOR_SPECIALIZATION; |
477 |
else if (binding instanceof ICPPMethod) |
478 |
return CPP_METHOD_SPECIALIZATION; |
479 |
else if (binding instanceof ICPPFunction) |
480 |
return CPP_FUNCTION_SPECIALIZATION; |
480 |
return CPP_FUNCTION_SPECIALIZATION; |
481 |
else if (binding instanceof ICPPClassTemplate) |
481 |
else if (binding instanceof ICPPClassTemplate) |
482 |
return CPP_CLASS_TEMPLATE_SPECIALIZATION; |
482 |
return CPP_CLASS_TEMPLATE_SPECIALIZATION; |