Exemplo n.º 1
0
Arquivo: Error.cs Projeto: veler/BaZic
 /// <summary>
 /// Initializes a new instance of the <see cref="Error"/> class.
 /// </summary>
 /// <param name="exception">The exception thrown.</param>
 /// <param name="syntaxTreeObject">The algorithm object where the problem comes.</param>
 public Error(BaZicInterpreterException exception, NodeObject syntaxTreeObject)
     : this(exception)
 {
     SyntaxTreeObject = syntaxTreeObject;
 }
Exemplo n.º 2
0
 internal void ChangeState(object source, BaZicInterpreterException exception, NodeObject syntaxTreeObject = null)
 {
     ChangeState(source, new BaZicInterpreterStateChangeEventArgs(new Error(exception, syntaxTreeObject)));
 }
Exemplo n.º 3
0
Arquivo: Error.cs Projeto: veler/BaZic
 /// <summary>
 /// Initializes a new instance of the <see cref="Error"/> class.
 /// </summary>
 /// <param name="exception">The exception thrown.</param>
 public Error(BaZicInterpreterException exception)
 {
     Exception = exception;
 }