Examples of resolveBinding()


Examples of org.eclipse.php.internal.core.ast.nodes.Include.resolveBinding()

      ExpressionStatement statement = (ExpressionStatement) program
          .statements().get(0);
      Include include = (Include) statement.getExpression();

      IBinding sourceBinding = include.resolveBinding();

      Assert.assertTrue(sourceBinding.getName().equals("myFile.php") == true);
      Assert.assertTrue(sourceBinding.getPHPElement().getElementType() == IModelElement.SOURCE_MODULE);
      Assert.assertTrue(sourceBinding.getKind() == IBinding.INCLUDE);
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.