polyglot.util
Interface ErrorQueue

All Known Implementing Classes:
AbstractErrorQueue, SilentErrorQueue, StdErrorQueue

public interface ErrorQueue

A ErrorQueue handles outputing error messages.


Method Summary
 void enqueue(ErrorInfo e)
           
 void enqueue(int type, java.lang.String message)
           
 void enqueue(int type, java.lang.String message, Position position)
           
 int errorCount()
           
 void flush()
           
 boolean hasErrors()
           
 

Method Detail

enqueue

void enqueue(int type,
             java.lang.String message)

enqueue

void enqueue(int type,
             java.lang.String message,
             Position position)

enqueue

void enqueue(ErrorInfo e)

flush

void flush()

hasErrors

boolean hasErrors()

errorCount

int errorCount()