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