Examples of RutaRessourceReference


Examples of org.apache.uima.ruta.ide.parser.ast.RutaRessourceReference

    public boolean visit(Expression s) throws Exception {
      // traverse everything but RessourceReference
      if (!(s instanceof RutaRessourceReference)) {
        return true;
      }
      RutaRessourceReference resRef = (RutaRessourceReference) s;
      if (RutaCheckerUtils.checkRessourceExistence(resRef.getValue(), project)) {
        return false;
      }
      // ressource not valid
      String errMsg = errMsgHead + resRef.getValue() + errMsgTailDefault;
      IProblem problem = new RutaCheckerDefaultProblem(currentFile, errMsg, resRef,
              linetracker.getLineNumberOfOffset(resRef.sourceStart()));
      rep.reportProblem(problem);
      return false;
    }
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.