internal void ReportSyntaxWarning(string message, Node node) { _context.Errors.Add(_context.SourceUnit, message, node.Span, -1, Severity.Warning); }
internal void ReportSyntaxError(string message, Node node) { // TODO: Change the error code (-1) _context.Errors.Add(_context.SourceUnit, message, node.Span, -1, Severity.FatalError); throw new NotImplementedException(); //throw TotemOps.SyntaxError(message, _context.SourceUnit, node.Span, -1); }