Exemplo n.º 1
0
 public void AddWarning(CompilerErrorCode code, string warning, NodeValueInfo info, string sourceFileName)
 {
     CompilerMessages.Warnings.Add(
         new Warning { ErrorCode = code, MessageText = warning, Interval = info.ToInterval(sourceFileName) });
 }
Exemplo n.º 2
0
 public void AddError(CompilerErrorCode code, string error, NodeValueInfo info, Exception ex, string sourceFileName)
 {
     AddError(code, error, info, sourceFileName);
     throw ex;
 }
Exemplo n.º 3
0
 public void AddError(CompilerErrorCode code, string error, NodeValueInfo info, string sourceFileName)
 {
     CompilerMessages.Errors.Add(
         new Error { ErrorCode = code, MessageText = error, Interval = info.ToInterval(sourceFileName) });
 }
Exemplo n.º 4
0
 protected void AddWarning(CompilerErrorCode code, string warning, NodeValueInfo info)
 {
     DTO.AddWarning(code, warning, info, SourceFileName);
 }
Exemplo n.º 5
0
 protected void AddError(CompilerErrorCode code, string error, NodeValueInfo info, Exception ex)
 {
     DTO.AddError(code, error, info, ex, SourceFileName);
 }
Exemplo n.º 6
0
 public static string MesageText(CompilerErrorCode code)
 {
     return "";
 }