Examples of PHPDocClassVariableGoal


Examples of org.eclipse.php.internal.core.typeinference.goals.phpdoc.PHPDocClassVariableGoal

        PHPTypeInferencer typeInferencer = new PHPTypeInferencer();

        if (!propertyName.startsWith(DOLLAR)) {
          propertyName = DOLLAR + propertyName;
        }
        PHPDocClassVariableGoal phpDocGoal = new PHPDocClassVariableGoal(
            typeContext, propertyName, offset);
        IEvaluatedType evaluatedType = typeInferencer
            .evaluateTypePHPDoc(phpDocGoal, 3000);

        IType[] modelElements = PHPTypeInferenceUtils.getModelElements(
View Full Code Here

Examples of org.eclipse.php.internal.core.typeinference.goals.phpdoc.PHPDocClassVariableGoal

  public PHPDocClassVariableEvaluator(IGoal goal) {
    super(goal);
  }

  public IGoal[] init() {
    PHPDocClassVariableGoal typedGoal = (PHPDocClassVariableGoal) goal;
    TypeContext context = (TypeContext) typedGoal.getContext();
    String variableName = typedGoal.getVariableName();
    int offset = typedGoal.getOffset();

    IModelAccessCache cache = context.getCache();
    IType[] types = PHPTypeInferenceUtils.getModelElements(
        context.getInstanceType(), context, offset, cache);
    Map<PHPDocBlock, IField> docs = new HashMap<PHPDocBlock, IField>();
View Full Code Here

Examples of org.eclipse.php.internal.core.typeinference.goals.phpdoc.PHPDocClassVariableGoal

          (ISourceModuleContext) goal.getContext(), receiverType);
      if (goal.getContext() instanceof IModelCacheContext) {
        typeContext.setCache(((IModelCacheContext) goal.getContext())
            .getCache());
      }
      return new IGoal[] { new PHPDocClassVariableGoal(typeContext,
          variableName, offset) };
    }

    if (state == STATE_WAITING_FIELD_PHPDOC) {
      if (goalState != GoalState.PRUNED && previousResult != null
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.