Sha256: 6e7b3d7e3f5328eaabe32d4ac725d8272f0f543a99bd1554fc41f7bdc7222eb8

Contents?: true

Size: 690 Bytes

Versions: 6

Compression:

Stored size: 690 Bytes

Contents

#ifndef SASS_SOURCE_DATA_H
#define SASS_SOURCE_DATA_H

#include "sass.hpp"
#include "memory.hpp"

namespace Sass {

  class SourceSpan;

  class SourceData :
    public SharedObj {
  public:
    SourceData();
    virtual size_t size() const = 0;
    virtual size_t getSrcId() const = 0;
    virtual const char* end() const = 0;
    virtual const char* begin() const = 0;
    virtual const char* getPath() const = 0;
    // virtual Offset getPosition() const = 0;
    virtual const char* getRawData() const = 0;
    virtual SourceSpan getSourceSpan() = 0;

    sass::string to_string() const override {
      return sass::string{ begin(), end() };
    }
    ~SourceData() {}
  };

}

#endif

Version data entries

6 entries across 5 versions & 4 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/sassc-2.4.0/ext/libsass/src/source_data.hpp
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/sassc-2.4.0/ext/libsass/src/source_data.hpp
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/ext/libsass/src/source_data.hpp
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/ext/libsass/src/source_data.hpp
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/ext/libsass/src/source_data.hpp
sassc-2.4.0 ext/libsass/src/source_data.hpp