|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.linear.LinearPrinter
public class LinearPrinter
Control point for printing messages generated by the LinearAnalysis pass. The purpose of this class is to have an easy way to leave in statements that generate verbose output but be able to disable the output from appearing if not requested (via the --debug compiler flag).
Constructor Summary | |
---|---|
LinearPrinter()
|
Method Summary | |
---|---|
static boolean |
getOutput()
Return flag status. |
static void |
print(String message)
Prints message to stderr if flag is set to true. |
static void |
println(String message)
Prints message to stderr if flag is set to true. |
static void |
setOutput(boolean outFlag)
Set output flag status. |
static void |
warn(String message)
Prints message with WARNING: prefix to stderr if flag is set to true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinearPrinter()
Method Detail |
---|
public static boolean getOutput()
public static void setOutput(boolean outFlag)
public static void println(String message)
public static void print(String message)
public static void warn(String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |