Sha256: ddf6dfe7b59fb44d45d8c339873ce8cc7f2640ec670936c69a6398efd70cf2c2

Contents?: true

Size: 1.37 KB

Versions: 81

Compression:

Stored size: 1.37 KB

Contents

#ifndef SASS_SASS_VALUES_H
#define SASS_SASS_VALUES_H

#include "sass.h"

struct Sass_Unknown {
  enum Sass_Tag tag;
};

struct Sass_Boolean {
  enum Sass_Tag tag;
  bool          value;
};

struct Sass_Number {
  enum Sass_Tag tag;
  double        value;
  char*         unit;
};

struct Sass_Color {
  enum Sass_Tag tag;
  double        r;
  double        g;
  double        b;
  double        a;
};

struct Sass_String {
  enum Sass_Tag tag;
  bool          quoted;
  char*         value;
};

struct Sass_List {
  enum Sass_Tag       tag;
  enum Sass_Separator separator;
  bool                is_bracketed;
  size_t              length;
  // null terminated "array"
  union Sass_Value**  values;
};

struct Sass_Map {
  enum Sass_Tag        tag;
  size_t               length;
  struct Sass_MapPair* pairs;
};

struct Sass_Null {
  enum Sass_Tag tag;
};

struct Sass_Error {
  enum Sass_Tag tag;
  char*         message;
};

struct Sass_Warning {
  enum Sass_Tag tag;
  char*         message;
};

union Sass_Value {
  struct Sass_Unknown unknown;
  struct Sass_Boolean boolean;
  struct Sass_Number  number;
  struct Sass_Color   color;
  struct Sass_String  string;
  struct Sass_List    list;
  struct Sass_Map     map;
  struct Sass_Null    null;
  struct Sass_Error   error;
  struct Sass_Warning warning;
};

struct Sass_MapPair {
  union Sass_Value* key;
  union Sass_Value* value;
};

#endif

Version data entries

81 entries across 63 versions & 19 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/sassc-2.4.0/ext/libsass/src/sass_values.hpp
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/sassc-2.4.0/ext/libsass/src/sass_values.hpp
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/sassc-2.4.0/ext/libsass/src/sass_values.hpp
optimacms-0.1.61 spec/dummy/node_modules/@rails/webpacker/node_modules/node-sass/src/libsass/src/sass_values.hpp
optimacms-0.1.61 spec/dummy/node_modules/node-sass/src/libsass/src/sass_values.hpp
disco_app-0.18.0 test/dummy/node_modules/node-sass/src/libsass/src/sass_values.hpp
disco_app-0.18.2 test/dummy/node_modules/node-sass/src/libsass/src/sass_values.hpp
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/ext/libsass/src/sass_values.hpp
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/sassc-2.4.0/ext/libsass/src/sass_values.hpp
tang-0.2.1 spec/tang_app/node_modules/node-sass/src/libsass/src/sass_values.hpp
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/node-sass/src/libsass/src/sass_values.hpp
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/node-sass/src/libsass/src/sass_values.hpp
ruby2js-4.0.4 lib/tasks/testrails/node_modules/node-sass/src/libsass/src/sass_values.hpp
ruby2js-4.0.3 lib/tasks/testrails/node_modules/node-sass/src/libsass/src/sass_values.hpp
tang-0.2.0 spec/tang_app/node_modules/node-sass/src/libsass/src/sass_values.hpp
tang-0.1.0 spec/tang_app/node_modules/node-sass/src/libsass/src/sass_values.hpp
tang-0.0.9 spec/tang_app/node_modules/node-sass/src/libsass/src/sass_values.hpp
enju_library-0.3.8 spec/dummy/node_modules/node-sass/src/libsass/src/sass_values.hpp
sassc-2.4.0 ext/libsass/src/sass_values.hpp
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sassc-2.0.0/ext/libsass/src/sass_values.hpp