aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Basic/Script.cs
Path not found
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Scripting
{
    public class CompilationError
    {
        public String File { get; set; }

        public String Name
        {
            get { return Path.GetFileName(File); }
        }

        public String Message { get; set; }
        public int Line { get; set; }
        public int Character { get; set; }

        public override string ToString()
        {
            return String.Format("{0}  {1} ({2},{3})", Message, Name, Line, Character);
        }
    }
}