blob: 0a40f7476881a94b7e0040ea3f3ca484bc8c3af0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* */
// $Id$
package scala.tools.util.debug;
/**
* This interface defines methods used by the class Debug to turn
* objects into strings.
*/
public interface Debugger {
//########################################################################
// Public Methods
/**
* Returns "true" if the specified object may be passed as an
* argument to the method "append".
*/
public boolean canAppend(Object object);
/**
* Appends the object to the string buffer. This method must be
* invoked only with objects for which the method "canAppend"
* returns "true".
*/
public void append(StringBuffer buffer, Object object);
//########################################################################
}
|