Package org.sugarj.common.errors

Examples of org.sugarj.common.errors.SourceLocation


      int colStart = s.indexOf("^", colMarkerStart);
      int colEnd = s.lastIndexOf("^", colMarkerEnd);
      int msgStart = colMarkerEnd + 1;
      int msgEnd = s.indexOf("\n", msgStart);
      String msg = s.substring(msgStart, msgEnd);
      errors.add(Pair.create(new SourceLocation(new AbsolutePath(file), line, line, colStart, colEnd), msg));
      index = msgEnd + 1;
    }
    return errors;
  }
View Full Code Here

TOP

Related Classes of org.sugarj.common.errors.SourceLocation

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.