Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

API Document for Extension Points PDT

Revision as of 08:10, 9 July 2008 by Spektom.gmail.com (Talk | contribs) (API)

PHP Core

PHP Evaluator Factory

Extension Description

This extension point allows providing additional goal evaluator factories (IGoalEvaluatorFactory) thus overriding default PHP goal evaluator factory. Goal evaluator factory is a part of DLTK type inference engine, and it is used for creating evaluators that correspond to goals (see DDP algorithm for more information).

Extension Registry Algorithm

PHP Goal evaluators registry goes over all contributed extensions sorted by priority, and tries to resolve goal evaluator using current factory. The first that returns non-null goal evaluator is working - the rest are discarded.

Extension Example

<extension point="org.eclipse.php.core.goalEvaluatorFactories">
  <factory
       class="org.eclipse.apdt.core.APDTEvaluatorFactory"
       priority="10">
  </factory>
</extension>

PHP Mixin Build Visitor

PHP Source Element Requestor

Back to the top