aa
|
Public Member Functions | |
ErrMsg (Parse loc, String msg, Level lvl) | |
int | compareTo (ErrMsg msg) |
boolean | equals (Object obj) |
int | hashCode () |
String | toString () |
Static Public Member Functions | |
static ErrMsg | asserterr (Parse loc, Type actual, Type t0mem, Type expected) |
static ErrMsg | badGC (Parse loc) |
static ErrMsg | field (Parse loc, String msg, String fld, boolean closure, TypeObj to) |
static ErrMsg | forward_ref (Parse loc, FunPtrNode fun) |
static ErrMsg | forward_ref (Parse loc, String name) |
static ErrMsg | niladr (Parse loc, String msg, String fld) |
static ErrMsg | syntax (Parse loc, String msg) |
static ErrMsg | trailingjunk (Parse loc) |
static ErrMsg | typerr (Parse loc, Type actual, Type t0mem, Type expected) |
static ErrMsg | typerr (Parse loc, Type actual, Type t0mem, Type expected, Level lvl) |
static ErrMsg | typerr (Parse loc, Type actual, Type t0mem, Type[] expecteds) |
static ErrMsg | unresolved (Parse loc, String msg) |
Public Attributes | |
Parse | _loc |
final Level | _lvl |
final String | _msg |
int | _order |
Static Public Attributes | |
static final ErrMsg | BADARGS = new ErrMsg(null,"bad arguments",Level.BadArgs) |
static final ErrMsg | FAST = new ErrMsg(null,"fast",Level.Syntax) |
Definition at line 895 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg._loc, com.cliffc.aa.node.Node.ErrMsg._lvl, and com.cliffc.aa.node.Node.ErrMsg._msg.
Referenced by com.cliffc.aa.node.Node.ErrMsg.badGC(), com.cliffc.aa.node.Node.ErrMsg.equals(), com.cliffc.aa.node.Node.ErrMsg.field(), com.cliffc.aa.node.Node.ErrMsg.forward_ref(), com.cliffc.aa.node.Node.ErrMsg.niladr(), com.cliffc.aa.node.Node.ErrMsg.syntax(), com.cliffc.aa.node.Node.ErrMsg.trailingjunk(), com.cliffc.aa.node.Node.ErrMsg.typerr(), and com.cliffc.aa.node.Node.ErrMsg.unresolved().
|
static |
Definition at line 926 of file Node.java.
References com.cliffc.aa.node.Node.Level.Assert, and com.cliffc.aa.node.Node.ErrMsg.typerr().
Referenced by com.cliffc.aa.node.AssertNode.err().
Definition at line 938 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.MixedPrimGC.
Referenced by com.cliffc.aa.node.PhiNode.err().
int com.cliffc.aa.node.Node.ErrMsg.compareTo | ( | ErrMsg | msg | ) |
Definition at line 948 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg._lvl, and com.cliffc.aa.node.Node.ErrMsg._order.
boolean com.cliffc.aa.node.Node.ErrMsg.equals | ( | Object | obj | ) |
Definition at line 956 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg._loc, com.cliffc.aa.node.Node.ErrMsg._lvl, com.cliffc.aa.node.Node.ErrMsg._msg, com.cliffc.aa.Parse.equals(), com.cliffc.aa.node.Node.err(), and com.cliffc.aa.node.Node.ErrMsg.ErrMsg().
Referenced by com.cliffc.aa.node.ErrNode.equals().
|
static |
Definition at line 929 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), com.cliffc.aa.node.Node.Level.Field, com.cliffc.aa.util.SB.p(), com.cliffc.aa.type.TypeObj< O extends TypeObj< O >.str(), and com.cliffc.aa.util.SB.toString().
Referenced by com.cliffc.aa.node.StoreNode.bad(), and com.cliffc.aa.node.LoadNode.bad().
|
static |
Definition at line 896 of file Node.java.
References com.cliffc.aa.node.FunPtrNode._name, and com.cliffc.aa.node.Node.ErrMsg.forward_ref().
Referenced by com.cliffc.aa.node.CallNode.err(), com.cliffc.aa.node.FunPtrNode.forward_ref(), com.cliffc.aa.node.Node.ErrMsg.forward_ref(), and com.cliffc.aa.Parse.inc().
Definition at line 897 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.ForwardRef.
int com.cliffc.aa.node.Node.ErrMsg.hashCode | ( | ) |
Definition at line 967 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg._loc, com.cliffc.aa.node.Node.ErrMsg._lvl, com.cliffc.aa.node.Node.ErrMsg._msg, and com.cliffc.aa.Parse.hashCode().
Referenced by com.cliffc.aa.node.ErrNode.hashCode().
Definition at line 934 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.NilAdr.
Referenced by com.cliffc.aa.node.MemPrimNode.err(), com.cliffc.aa.node.StoreNode.err(), and com.cliffc.aa.node.LoadNode.err().
Definition at line 900 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.Syntax.
Referenced by com.cliffc.aa.node.MemPrimNode.LValueWriteFinal.err(), com.cliffc.aa.node.CallNode.err(), and com.cliffc.aa.Parse.stmt().
String com.cliffc.aa.node.Node.ErrMsg.toString | ( | ) |
Definition at line 945 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg._loc, com.cliffc.aa.node.Node.ErrMsg._msg, and com.cliffc.aa.Parse.errLocMsg().
Definition at line 941 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.TrailingJunk.
Referenced by com.cliffc.aa.Parse.gather_errors().
|
static |
Definition at line 906 of file Node.java.
References com.cliffc.aa.node.Node.Level.TypeErr, and com.cliffc.aa.node.Node.ErrMsg.typerr().
Referenced by com.cliffc.aa.node.Node.ErrMsg.asserterr(), com.cliffc.aa.node.MemPrimNode.err(), com.cliffc.aa.node.ParmNode.err(), com.cliffc.aa.node.IntrinsicNode.err(), com.cliffc.aa.node.PrimNode.err(), com.cliffc.aa.node.PrimNode.ConvertTypeName.err(), com.cliffc.aa.node.CallNode.err(), and com.cliffc.aa.node.Node.ErrMsg.typerr().
|
static |
Definition at line 907 of file Node.java.
References com.cliffc.aa.type.Type< T extends Type< T >.ALL, com.cliffc.aa.node.Node.Level.AllTypeErr, com.cliffc.aa.util.SB.clear(), com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), com.cliffc.aa.util.SB.p(), com.cliffc.aa.type.Type< T extends Type< T >.str(), com.cliffc.aa.util.SB.toString(), and com.cliffc.aa.node.Node.Level.TypeErr.
|
static |
Definition at line 916 of file Node.java.
References com.cliffc.aa.util.SB.clear(), com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), com.cliffc.aa.util.SB.p(), com.cliffc.aa.type.Type< T extends Type< T >.str(), com.cliffc.aa.util.SB.toString(), com.cliffc.aa.node.Node.Level.TypeErr, and com.cliffc.aa.util.SB.unchar().
Definition at line 903 of file Node.java.
References com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.Level.UnresolvedCall.
Referenced by com.cliffc.aa.node.CallNode.err().
Parse com.cliffc.aa.node.Node.ErrMsg._loc |
Definition at line 889 of file Node.java.
Referenced by com.cliffc.aa.node.Node.ErrMsg.equals(), com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), com.cliffc.aa.node.Node.ErrMsg.hashCode(), and com.cliffc.aa.node.Node.ErrMsg.toString().
final Level com.cliffc.aa.node.Node.ErrMsg._lvl |
Definition at line 891 of file Node.java.
Referenced by com.cliffc.aa.node.Node.ErrMsg.compareTo(), com.cliffc.aa.node.Node.ErrMsg.equals(), com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), and com.cliffc.aa.node.Node.ErrMsg.hashCode().
final String com.cliffc.aa.node.Node.ErrMsg._msg |
Definition at line 890 of file Node.java.
Referenced by com.cliffc.aa.node.Node.ErrMsg.equals(), com.cliffc.aa.node.Node.ErrMsg.ErrMsg(), com.cliffc.aa.node.Node.ErrMsg.hashCode(), com.cliffc.aa.node.Node.ErrMsg.toString(), and com.cliffc.aa.node.ErrNode.xstr().
int com.cliffc.aa.node.Node.ErrMsg._order |
Definition at line 892 of file Node.java.
Referenced by com.cliffc.aa.node.Node.adderr(), and com.cliffc.aa.node.Node.ErrMsg.compareTo().
|
static |
Definition at line 894 of file Node.java.
Referenced by com.cliffc.aa.node.PrimNode.err().
Definition at line 893 of file Node.java.
Referenced by com.cliffc.aa.node.StoreNode.bad(), com.cliffc.aa.node.LoadNode.bad(), com.cliffc.aa.node.MemPrimNode.err(), com.cliffc.aa.node.ParmNode.err(), com.cliffc.aa.node.IntrinsicNode.err(), com.cliffc.aa.node.StoreNode.err(), com.cliffc.aa.node.LoadNode.err(), and com.cliffc.aa.node.CallNode.err().