示例#1
0
 internal MonaParseException(MonaParseExceptionKind kind, LexLocationInFile location, string message = "")
     : base(kind.ToString() + (message == "" ? "" : ": " + message))
 {
     this.location = location;
     this.kind     = kind;
 }
 internal MonaParseException(MonaParseExceptionKind kind, LexLocationInFile location,  string message = "")
     : base(kind.ToString() + (message== "" ? "" : ": " + message))
 {
     this.location = location;
     this.kind = kind;
 }