gov.llnl.babel.msg
Modifier and Type | Field and Description |
---|---|
protected ASTNode |
d_ast_node |
protected int |
d_col |
protected java.lang.String |
d_filename |
protected int |
d_line |
protected java.lang.String |
d_msg |
protected int |
d_type |
protected int |
d_verbiosity |
static int |
ERROR |
static int |
INTERNAL_ERROR |
static int |
REMARK |
static java.lang.String[] |
s_types |
static int |
WARNING |
Constructor and Description |
---|
UserMsg(int type,
java.lang.String msg) |
UserMsg(int type,
java.lang.String msg,
ASTNode ast_node) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object obj)
User Messages sort by line number first, column number second.
|
int |
getType() |
int |
getVerbiosity() |
void |
setVerbiosity(int verbiosity) |
java.lang.String |
toString() |
public static final int INTERNAL_ERROR
public static final int ERROR
public static final int WARNING
public static final int REMARK
public static java.lang.String[] s_types
protected int d_line
protected int d_col
protected java.lang.String d_filename
protected int d_type
protected java.lang.String d_msg
protected ASTNode d_ast_node
protected int d_verbiosity
public UserMsg(int type, java.lang.String msg, ASTNode ast_node)
public UserMsg(int type, java.lang.String msg)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
public int getType()
public int getVerbiosity()
public void setVerbiosity(int verbiosity)