Example #1
0
  public static List parseCompilerOutput(BufferedReader bufferedReader) throws IOException {
    List messages = new ArrayList();

    String line = bufferedReader.readLine();

    while (line != null) {
      CompilerError compilerError = DefaultCSharpCompilerParser.parseLine(line);

      if (compilerError != null) {
        messages.add(compilerError);
      }

      line = bufferedReader.readLine();
    }

    return messages;
  }
Example #2
0
 /**
  * This method is just here to maintain the public api. This is now handled in the parse compiler
  * output function.
  *
  * @author Chris Stevenson
  * @deprecated
  */
 public static CompilerError parseLine(String line) {
   return DefaultCSharpCompilerParser.parseLine(line);
 }