public SemanticError(Module module, IParseTree place, ITokenStream tokens, string msg) : base(ErrorUtils.MakeMessage(module, place, tokens, msg)) { this.text = msg; this.module = module; this.place = place; this.tokens = tokens; }
public SyntaxError(string file, int line, int char_pos, string msg) : base(ErrorUtils.MakeMessage(file, line, char_pos, msg)) { this.text = msg; this.line = line; this.char_pos = char_pos; this.file = file; }
public SymbolError(Symbol symbol, string text) : base(ErrorUtils.MakeMessage(symbol, text)) { this.text = text; this.symbol = symbol; }
public BuildError(string file, Exception inner) : base(ErrorUtils.MakeMessage(file, 0, 0, inner.Message), inner) { this.text = inner.Message; this.file = file; }
public BuildError(string file, string msg) : base(ErrorUtils.MakeMessage(file, 0, 0, msg)) { this.text = msg; this.file = file; }