Examples of ProblemCollector


Examples of org.eclipse.dltk.compiler.problem.ProblemCollector

          return;
        }
      }

      // create problem collector
      final ProblemCollector problemCollector = new ProblemCollector();
      // parse
      moduleDeclaration = parser
          .parse((IModuleSource) context.getSourceModule(),
              problemCollector);
      // put result to the cache
      SourceParserUtil.putModuleToCache(cacheEntry, moduleDeclaration,
          problemCollector);
      // report errors to the build context
      problemCollector.copyTo(context.getProblemReporter());

      // push AST to build context
      context.set(IBuildContext.ATTR_MODULE_DECLARATION,
          moduleDeclaration);
    }
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.