tribble.io
Interface DiagnosticWriterI

All Known Implementing Classes:
CharInputStreamDfl, LexerAdapter, LineToCharInputStream, Lr1Parser

public interface DiagnosticWriterI

Interface for objects that write diagnostic messages (informational, warning, and error messages) to a diagnostic output stream.

This interface is used to implement any kind of object class that that is capable of writing diagnostic messages (lines of text) to a diagnostic output stream.

Since:
2003-01-25
Version:
$Revision: 1.1 $ $Date: 2003/01/25 18:31:13 $
Author:
David R. Tribble, david@tribble.com.
Copyright 2003 by David R. Tribble, all rights reserved.
Permission is granted to freely use and distribute this source code provided that the original copyright and authorship notices remain intact.
See Also:
DiagnosticOutputI

Field Summary
static java.lang.String REV
          Revision information.
 
Method Summary
 void setOutput(DiagnosticOutputI out)
          Establish the output stream to which diagnostic messages (warning and error messages) are written.
 

Field Detail

REV

static final java.lang.String REV
Revision information.

See Also:
Constant Field Values
Method Detail

setOutput

void setOutput(DiagnosticOutputI out)
Establish the output stream to which diagnostic messages (warning and error messages) are written.

Parameters:
out - The diagnostic output stream.
Since:
1.1, 2003-01-25