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

Examples of org.eclipse.php.internal.core.compiler.ast.nodes.PHPModuleDeclaration.traverse()


   
    try {
     
      PHPModuleDeclaration module = (PHPModuleDeclaration) SourceParserUtil.parse(field.getSourceModule(), null);         
      FieldReferenceParser typeParser = new FieldReferenceParser(field);
      module.traverse(typeParser);
     
      if (typeParser.getReference() != null) {     
        SimpleReference ref = typeParser.getReference();     
        type = ref.getName();
       
View Full Code Here


  public void build(IBuildContext context) throws CoreException {
    try {
      PHPModuleDeclaration module = getModuleDeclaration(context);

      if (module != null) {
        module.traverse(new AnnotationVisitor(context));
      }
    } catch (Exception e) {
      Logger.logException(e);
    }
  }
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.