Sha256: 32aa3e806eef6bc73b09772111ccedcfa925f591dc78adff6ed97ea2a2171325

Contents?: true

Size: 739 Bytes

Versions: 4

Compression:

Stored size: 739 Bytes

Contents

#ifndef SASS_ERROR_HANDLING_H
#define SASS_ERROR_HANDLING_H

#include <string>

#include "position.hpp"

namespace Sass {

  struct Backtrace;

  struct Error_Invalid {
    enum Type { read, write, syntax, evaluation };

    Type type;
    ParserState pstate;
    std::string message;

    Error_Invalid(Type type, ParserState pstate, std::string message);

  };

  void warn(std::string msg, ParserState pstate);
  void warn(std::string msg, ParserState pstate, Backtrace* bt);

  void deprecated(std::string msg, ParserState pstate);
  // void deprecated(std::string msg, ParserState pstate, Backtrace* bt);

  void error(std::string msg, ParserState pstate);
  void error(std::string msg, ParserState pstate, Backtrace* bt);

}

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sassc-1.8.1 ext/libsass/src/error_handling.hpp
sassc-1.8.0 ext/libsass/src/error_handling.hpp
sassc-1.8.0.pre2 ext/libsass/src/error_handling.hpp
sassc-1.8.0.pre1 ext/libsass/src/error_handling.hpp