Package org.eclipse.php.internal.core.compiler.ast.nodes

Examples of org.eclipse.php.internal.core.compiler.ast.nodes.StaticConstantAccess


    super(goal);
  }

  public IGoal[] init() {
    ExpressionTypeGoal typedGoal = (ExpressionTypeGoal) goal;
    StaticConstantAccess expr = (StaticConstantAccess) typedGoal
        .getExpression();

    Expression dispatcher = expr.getDispatcher();
    if (dispatcher instanceof TypeReference) {
      TypeReference typeReference = (TypeReference) dispatcher;
      return new IGoal[] { new ConstantDeclarationGoal(goal.getContext(),
          expr.getConstant().getName(), typeReference.getName()) };
    }
    return IGoal.NO_GOALS;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.compiler.ast.nodes.StaticConstantAccess

Copyright © 2018 www.massapicom. 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.