Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the JsonParseError class.
 /// </summary>
 /// <param name="type">
 /// The type of item that was attempting to be parsed.
 /// </param>
 /// <param name="typeStart">
 /// The starting location for the type of item that was being parsed.
 /// </param>
 /// <param name="errorLocation">
 /// The location where the error occurred.
 /// </param>
 /// <param name="message">
 /// The message that describes the error.
 /// </param>
 public JsonParseError(JsonParseType type, int typeStart, int errorLocation, string message)
 {
     this.ParseType          = type;
     this.ParseTypeStart     = typeStart;
     this.ParseErrorLocation = errorLocation;
     this.Message            = message;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the JsonParseError class.
 /// </summary>
 /// <param name="type">
 /// The type of item that was attempting to be parsed.
 /// </param>
 /// <param name="typeStart">
 /// The starting location for the type of item that was being parsed.
 /// </param>
 /// <param name="errorLocation">
 /// The location where the error occurred.
 /// </param>
 /// <param name="message">
 /// The message that describes the error.
 /// </param>
 public JsonParseError(JsonParseType type, int typeStart, int errorLocation, string message)
 {
     this.ParseType = type;
     this.ParseTypeStart = typeStart;
     this.ParseErrorLocation = errorLocation;
     this.Message = message;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the JsonWhiteSpaceParser class.
 /// </summary>
 /// <param name="parseType">
 /// The type of object that was being parsed.
 /// </param>
 /// <param name="buffer">
 /// The parser buffer used to conduct parsing.
 /// </param>
 public JsonWhiteSpaceParser(JsonParseType parseType, ParseBuffer buffer)
     : base(buffer)
 {
     this.parseType = parseType;
 }
 /// <summary>
 /// Initializes a new instance of the JsonWhiteSpaceParser class.
 /// </summary>
 /// <param name="parseType">
 /// The type of object that was being parsed.
 /// </param>
 /// <param name="buffer">
 /// The parser buffer used to conduct parsing.
 /// </param>
 public JsonWhiteSpaceParser(JsonParseType parseType, ParseBuffer buffer)
     : base(buffer)
 {
     this.parseType = parseType;
 }