예제 #1
0
 // Error
 internal JazonToken(JsonMsgCode code, string text)
 {
     Type    = (JsonTokenType)(-1);
     Text    = text;
     ULValue = (ulong)code;
     DValue  = 0d;
 }
예제 #2
0
 public JazonDeserializationException(JsonMsgCode code, string text, SourcePosition pos) : base("Code {0} at {1}: {2}".Args(code, pos, text))
 {
 }
예제 #3
0
 public JazonDeserializationException(JsonMsgCode code, string text) : base("Code {0}: {1}".Args(code, text))
 {
 }
예제 #4
0
 private void errorAndAbort(JsonMsgCode code)
 {
     EmitMessage(MessageType.Error, (int)code, Lexer.SourceCodeReference, token: token);
     throw new abortException();
 }