Encapsulates information for a JavaScript parse error or warning.
Encapsulates information for a JavaScript parse error or warning.
Exemplo n.º 1
0
		/// <summary>Constructs a new ParseProblem.</summary>
		/// <remarks>Constructs a new ParseProblem.</remarks>
		public ParseProblem(ParseProblem.Type type, string message, string sourceName, int offset, int length)
		{
			SetType(type);
			SetMessage(message);
			SetSourceName(sourceName);
			SetFileOffset(offset);
			SetLength(length);
		}
Exemplo n.º 2
0
		public virtual void SetType(ParseProblem.Type type)
		{
			this.type = type;
		}