gov.llnl.babel.msg
Class UserMsg
java.lang.Object
gov.llnl.babel.msg.UserMsg
- Comparable
public class UserMsg
extends java.lang.Object
implements Comparable
Encapsulation of a single Error, Warning, or Remark based on a single
Token to provide back to the user.
ERROR
public static final int ERROR
INTERNAL_ERROR
public static final int INTERNAL_ERROR
REMARK
public static final int REMARK
WARNING
public static final int WARNING
d_ast_node
protected ASTNode d_ast_node
d_filename
protected String d_filename
d_line
protected int d_line
d_msg
protected String d_msg
d_type
protected int d_type
d_verbiosity
protected int d_verbiosity
s_types
public static String[] s_types
UserMsg
public UserMsg(int type,
String msg)
UserMsg
public UserMsg(int type,
String msg,
ASTNode ast_node)
compareTo
public int compareTo(Object obj)
User Messages sort by line number first, column number second.
getType
public int getType()
getVerbiosity
public int getVerbiosity()
setVerbiosity
public void setVerbiosity(int verbiosity)
toString
public String toString()