예제 #1
0
 public void AddInformation(string msg, NodeValueInfo info, string sourceFileName)
 {
     CompilerMessages.Informations.Add(
         new Information { MessageText = msg, Interval = info.ToInterval(sourceFileName) });
 }
예제 #2
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) });
 }
예제 #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) });
 }