repo stringlengths 5 92 | file_url stringlengths 80 287 | file_path stringlengths 5 197 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:37:27 2026-01-04 17:58:21 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/features.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/features.rb | require 'set'
module Sass
# Provides `Sass.has_feature?` which allows for simple feature detection
# by providing a feature name.
module Features
# This is the set of features that can be detected.
#
# When this is updated, the documentation of `feature-exists()` should be
# updated as well.
K... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/error.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/error.rb | module Sass
# An exception class that keeps track of
# the line of the Sass template it was raised on
# and the Sass file that was being parsed (if applicable).
#
# All Sass errors are raised as {Sass::SyntaxError}s.
#
# When dealing with SyntaxErrors,
# it's important to provide filename and line numbe... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores.rb | require 'stringio'
module Sass
# Sass cache stores are in charge of storing cached information,
# especially parse trees for Sass documents.
#
# User-created importers must inherit from {CacheStores::Base}.
module CacheStores
end
end
require 'sass/cache_stores/base'
require 'sass/cache_stores/filesystem'
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/shared.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/shared.rb | module Sass
# This module contains functionality that's shared between Haml and Sass.
module Shared
extend self
# Scans through a string looking for the interoplation-opening `#{`
# and, when it's found, yields the scanner to the calling code
# so it can handle it properly.
#
# The scanner ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util.rb | # -*- coding: utf-8 -*-
require 'erb'
require 'set'
require 'enumerator'
require 'stringio'
require 'rbconfig'
require 'uri'
require 'thread'
require 'pathname'
require 'sass/root'
require 'sass/util/subset_map'
module Sass
# A module containing various useful functions.
module Util
extend self
# An arra... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | true |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/test.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/test.rb | module Sass
module Util
module Test
def skip(msg = nil, bt = caller)
super if defined?(super)
end
end
end
end
| ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/subset_map.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/subset_map.rb | require 'set'
module Sass
module Util
# A map from sets to values.
# A value is \{#\[]= set} by providing a set (the "set-set") and a value,
# which is then recorded as corresponding to that set.
# Values are \{#\[] accessed} by providing a set (the "get-set")
# and returning all values that corr... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/multibyte_string_scanner.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/multibyte_string_scanner.rb | require 'strscan'
if Sass::Util.rbx?
# Rubinius's StringScanner class implements some of its methods in terms of
# others, which causes us to double-count bytes in some cases if we do
# straightforward inheritance. To work around this, we use a delegate class.
require 'delegate'
class Sass::Util::MultibyteSt... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/normalized_map.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/util/normalized_map.rb | require 'delegate'
module Sass
module Util
# A hash that normalizes its string keys while still allowing you to get back
# to the original keys that were stored. If several different values normalize
# to the same value, whichever is stored last wins.
class NormalizedMap
# Create a normalized m... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/generic.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/generic.rb | # The reason some options are declared here rather than in sass/plugin/configuration.rb
# is that otherwise they'd clobber the Rails-specific options.
# Since Rails' options are lazy-loaded in Rails 3,
# they're reverse-merged with the default options
# so that user configuration is preserved.
# This means that default... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/rails.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/rails.rb | unless defined?(Sass::RAILS_LOADED)
Sass::RAILS_LOADED = true
module Sass::Plugin::Configuration
# Different default options in a rails environment.
def default_options
return @default_options if @default_options
opts = {
:quiet => Sass::Util.rails_env != "production",
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/compiler.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/compiler.rb | require 'fileutils'
require 'sass'
# XXX CE: is this still necessary now that we have the compiler class?
require 'sass/callbacks'
require 'sass/plugin/configuration'
require 'sass/plugin/staleness_checker'
module Sass::Plugin
# The Compiler class handles compilation of multiple files and/or directories,
# includ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/staleness_checker.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/staleness_checker.rb | require 'thread'
module Sass
module Plugin
# The class handles `.s[ca]ss` file staleness checks via their mtime timestamps.
#
# To speed things up two level of caches are employed:
#
# * A class-level dependency cache which stores @import paths for each file.
# This is a long-lived cache th... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/rack.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/rack.rb | module Sass
module Plugin
# Rack middleware for compiling Sass code.
#
# ## Activate
#
# require 'sass/plugin/rack'
# use Sass::Plugin::Rack
#
# ## Customize
#
# Sass::Plugin.options.merge!(
# :cache_location => './tmp/sass-cache',
# :never_updat... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/configuration.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/configuration.rb | module Sass
module Plugin
# We keep configuration in its own self-contained file so that we can load
# it independently in Rails 3, where the full plugin stuff is lazy-loaded.
#
# Note that this is not guaranteed to be thread-safe. For guaranteed thread
# safety, use a separate {Sass::Plugin} for ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/merb.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/plugin/merb.rb | unless defined?(Sass::MERB_LOADED)
Sass::MERB_LOADED = true
module Sass::Plugin::Configuration
# Different default options in a m environment.
def default_options
@default_options ||= begin
version = Merb::VERSION.split('.').map {|n| n.to_i}
if version[0] <= 0 && version[1] < 5
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/base.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/base.rb | require 'sass/logger/log_level'
class Sass::Logger::Base
include Sass::Logger::LogLevel
attr_accessor :log_level
attr_accessor :disabled
attr_accessor :io
log_level :trace
log_level :debug
log_level :info
log_level :warn
log_level :error
def initialize(log_level = :debug, io = nil)
self.log_... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/delayed.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/delayed.rb | require 'sass/logger/log_level'
# A logger that delays messages until they're explicitly flushed to an inner
# logger.
#
# This can be installed around the current logger by calling \{#install!}, and
# the original logger can be replaced by calling \{#uninstall!}. The log
# messages can be flushed by calling \{#flush}... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/log_level.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/logger/log_level.rb | module Sass
module Logger
module LogLevel
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def inherited(subclass)
subclass.log_levels = subclass.superclass.log_levels.dup
end
attr_writer :log_levels
def log_levels
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/deprecated_path.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/deprecated_path.rb | module Sass
module Importers
# This importer emits a deprecation warning the first time it is used to
# import a file. It is used to deprecate the current working
# directory from the list of automatic sass load paths.
class DeprecatedPath < Filesystem
# @param root [String] The absolute, expand... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/base.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/base.rb | module Sass
module Importers
# The abstract base class for Sass importers.
# All importers should inherit from this.
#
# At the most basic level, an importer is given a string
# and must return a {Sass::Engine} containing some Sass code.
# This string can be interpreted however the importer wa... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/filesystem.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/importers/filesystem.rb | require 'set'
module Sass
module Importers
# The default importer, used for any strings found in the load path.
# Simply loads Sass files from the filesystem using the default logic.
class Filesystem < Base
attr_accessor :root
# Creates a new filesystem importer that imports files relative t... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/css_parser.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/css_parser.rb | require 'sass/script/css_parser'
module Sass
module SCSS
# This is a subclass of {Parser} which only parses plain CSS.
# It doesn't support any Sass extensions, such as interpolation,
# parent references, nested selectors, and so forth.
# It does support all the same CSS hacks as the SCSS parser, tho... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/parser.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/parser.rb | # -*- coding: utf-8 -*-
require 'set'
module Sass
module SCSS
# The parser for SCSS.
# It parses a string of code into a tree of {Sass::Tree::Node}s.
class Parser
# Expose for the SASS parser.
attr_accessor :offset
# @param str [String, StringScanner] The source document to parse.
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | true |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/rx.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/rx.rb | # -*- coding: utf-8 -*-
module Sass
module SCSS
# A module containing regular expressions used
# for lexing tokens in an SCSS document.
# Most of these are taken from [the CSS3 spec](http://www.w3.org/TR/css3-syntax/#lexical),
# although some have been modified for various reasons.
module RX
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/static_parser.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/scss/static_parser.rb | require 'sass/script/css_parser'
module Sass
module SCSS
# A parser for a static SCSS tree.
# Parses with SCSS extensions, like nested rules and parent selectors,
# but without dynamic SassScript.
# This is useful for e.g. \{#parse\_selector parsing selectors}
# after resolving the interpolation.... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/sass_convert.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/sass_convert.rb | require 'optparse'
require 'fileutils'
module Sass::Exec
# The `sass-convert` executable.
class SassConvert < Base
# @param args [Array<String>] The command-line arguments
def initialize(args)
super
require 'sass'
@options[:for_tree] = {}
@options[:for_engine] = {:cache => false, :r... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/sass_scss.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/sass_scss.rb | module Sass::Exec
# The `sass` and `scss` executables.
class SassScss < Base
attr_reader :default_syntax
# @param args [Array<String>] The command-line arguments
def initialize(args, default_syntax)
super(args)
@options[:sourcemap] = :auto
@options[:for_engine] = {
:load_paths... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/base.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/exec/base.rb | require 'optparse'
module Sass::Exec
# The abstract base class for Sass executables.
class Base
# @param args [Array<String>] The command-line arguments
def initialize(args)
@args = args
@options = {}
end
# Parses the command-line arguments and runs the executable.
# Calls `Kernel#... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/range.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/range.rb | module Sass::Source
class Range
# The starting position of the range in the document (inclusive).
#
# @return [Sass::Source::Position]
attr_accessor :start_pos
# The ending position of the range in the document (exclusive).
#
# @return [Sass::Source::Position]
attr_accessor :end_pos
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/position.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/position.rb | module Sass::Source
class Position
# The one-based line of the document associated with the position.
#
# @return [Integer]
attr_accessor :line
# The one-based offset in the line of the document associated with the
# position.
#
# @return [Integer]
attr_accessor :offset
# @pa... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/map.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/source/map.rb | module Sass::Source
class Map
# A mapping from one source range to another. Indicates that `input` was
# compiled to `output`.
#
# @!attribute input
# @return [Sass::Source::Range] The source range in the input document.
#
# @!attribute output
# @return [Sass::Source::Range] The so... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/memory.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/memory.rb | module Sass
module CacheStores
# A backend for the Sass cache using in-process memory.
class Memory < Base
# Since the {Memory} store is stored in the Sass tree's options hash,
# when the options get serialized as part of serializing the tree,
# you get crazy exponential growth in the size o... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/chain.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/chain.rb | module Sass
module CacheStores
# A meta-cache that chains multiple caches together.
# Specifically:
#
# * All `#store`s are passed to all caches.
# * `#retrieve`s are passed to each cache until one has a hit.
# * When one cache has a hit, the value is `#store`d in all earlier caches.
class... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/base.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/base.rb | module Sass
module CacheStores
# An abstract base class for backends for the Sass cache.
# Any key-value store can act as such a backend;
# it just needs to implement the
# \{#_store} and \{#_retrieve} methods.
#
# To use a cache store with Sass,
# use the {file:SASS_REFERENCE.md#cache_sto... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/null.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/null.rb | module Sass
module CacheStores
# Doesn't store anything, but records what things it should have stored.
# This doesn't currently have any use except for testing and debugging.
#
# @private
class Null < Base
def initialize
@keys = {}
end
def _retrieve(key, version, sha)
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/filesystem.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/cache_stores/filesystem.rb | require 'fileutils'
module Sass
module CacheStores
# A backend for the Sass cache using the filesystem.
class Filesystem < Base
# The directory where the cached files will be stored.
#
# @return [String]
attr_accessor :cache_location
# @param cache_location [String] see \{#cach... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/simple_sequence.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/simple_sequence.rb | module Sass
module Selector
# A unseparated sequence of selectors
# that all apply to a single element.
# For example, `.foo#bar[attr=baz]` is a simple sequence
# of the selectors `.foo`, `#bar`, and `[attr=baz]`.
class SimpleSequence < AbstractSequence
# The array of individual selectors.
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/abstract_sequence.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/abstract_sequence.rb | module Sass
module Selector
# The abstract parent class of the various selector sequence classes.
#
# All subclasses should implement a `members` method that returns an array
# of object that respond to `#line=` and `#filename=`, as well as a `to_s`
# method that returns the string representation ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/comma_sequence.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/comma_sequence.rb | module Sass
module Selector
# A comma-separated sequence of selectors.
class CommaSequence < AbstractSequence
@@compound_extend_deprecation = Sass::Deprecation.new
# The comma-separated selector sequences
# represented by this class.
#
# @return [Array<Sequence>]
attr_read... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/sequence.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/sequence.rb | module Sass
module Selector
# An operator-separated sequence of
# {SimpleSequence simple selector sequences}.
class Sequence < AbstractSequence
# Sets the line of the Sass template on which this selector was declared.
# This also sets the line for all child selectors.
#
# @param li... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/simple.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/simple.rb | module Sass
module Selector
# The abstract superclass for simple selectors
# (that is, those that don't compose multiple selectors).
class Simple
# The line of the Sass template on which this selector was declared.
#
# @return [Integer]
attr_accessor :line
# The name of the ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/pseudo.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/selector/pseudo.rb | # coding: utf-8
module Sass
module Selector
# A pseudoclass (e.g. `:visited`) or pseudoelement (e.g. `::first-line`)
# selector. It can have arguments (e.g. `:nth-child(2n+1)`) which can
# contain selectors (e.g. `:nth-child(2n+1 of .foo)`).
class Pseudo < Simple
# Some pseudo-class-syntax selec... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value.rb | module Sass::Script::Value; end
require 'sass/script/value/base'
require 'sass/script/value/string'
require 'sass/script/value/number'
require 'sass/script/value/color'
require 'sass/script/value/bool'
require 'sass/script/value/null'
require 'sass/script/value/list'
require 'sass/script/value/arg_list'
require 'sass/... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree.rb | # The module containing nodes in the SassScript parse tree. These nodes are
# all subclasses of {Sass::Script::Tree::Node}.
module Sass::Script::Tree
end
require 'sass/script/tree/node'
require 'sass/script/tree/variable'
require 'sass/script/tree/funcall'
require 'sass/script/tree/operation'
require 'sass/script/tree... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/css_parser.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/css_parser.rb | require 'sass/script'
require 'sass/script/css_lexer'
module Sass
module Script
# This is a subclass of {Parser} for use in parsing plain CSS properties.
#
# @see Sass::SCSS::CssParser
class CssParser < Parser
private
# @private
def lexer_class; CssLexer; end
# We need a pro... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/parser.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/parser.rb | require 'sass/script/lexer'
module Sass
module Script
# The parser for SassScript.
# It parses a string of code into a tree of {Script::Tree::Node}s.
class Parser
# The line number of the parser's current position.
#
# @return [Integer]
def line
@lexer.line
end
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/lexer.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/lexer.rb | require 'sass/scss/rx'
module Sass
module Script
# The lexical analyzer for SassScript.
# It takes a raw string and converts it to individual tokens
# that are easier to parse.
class Lexer
include Sass::SCSS::RX
# A struct containing information about an individual token.
#
#... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/functions.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/functions.rb | require 'sass/script/value/helpers'
module Sass::Script
# YARD can't handle some multiline tags, and we need really long tags for function declarations.
# Methods in this module are accessible from the SassScript context.
# For example, you can write
#
# $color: hsl(120deg, 100%, 50%)
#
# and it wi... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | true |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/css_lexer.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/css_lexer.rb | module Sass
module Script
# This is a subclass of {Lexer} for use in parsing plain CSS properties.
#
# @see Sass::SCSS::CssParser
class CssLexer < Lexer
private
def token
important || super
end
def string(re, *args)
if re == :uri
uri = scan(URI)
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/callable.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/callable.rb | module Sass::Script::Value
# A SassScript object representing a null value.
class Callable < Base
# Constructs a Callable value for use in SassScript.
#
# @param callable [Sass::Callable] The callable to be used when the
# callable is called.
def initialize(callable)
super(callable)
en... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/bool.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/bool.rb | module Sass::Script::Value
# A SassScript object representing a boolean (true or false) value.
class Bool < Base
# The true value in SassScript.
#
# This is assigned before new is overridden below so that we use the default implementation.
TRUE = new(true)
# The false value in SassScript.
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/helpers.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/helpers.rb | module Sass::Script::Value
# Provides helper functions for creating sass values from within ruby methods.
# @since `3.3.0`
module Helpers
# Construct a Sass Boolean.
#
# @param value [Object] A ruby object that will be tested for truthiness.
# @return [Sass::Script::Value::Bool] whether the ruby v... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/color.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/color.rb | module Sass::Script::Value
# A SassScript object representing a CSS color.
#
# A color may be represented internally as RGBA, HSLA, or both.
# It's originally represented as whatever its input is;
# if it's created with RGB values, it's represented as RGBA,
# and if it's created with HSL values, it's repres... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/base.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/base.rb | module Sass::Script::Value
# The abstract superclass for SassScript objects.
#
# Many of these methods, especially the ones that correspond to SassScript operations,
# are designed to be overridden by subclasses which may change the semantics somewhat.
# The operations listed here are just the defaults.
cla... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/null.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/null.rb | module Sass::Script::Value
# A SassScript object representing a null value.
class Null < Base
# The null value in SassScript.
#
# This is assigned before new is overridden below so that we use the default implementation.
NULL = new(nil)
# We override object creation so that users of the core AP... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/number.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/number.rb | module Sass::Script::Value
# A SassScript object representing a number.
# SassScript numbers can have decimal values,
# and can also have units.
# For example, `12`, `1px`, and `10.45em`
# are all valid values.
#
# Numbers can also have more complex units, such as `1px*em/in`.
# These cannot be inputted... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/string.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/string.rb | # -*- coding: utf-8 -*-
module Sass::Script::Value
# A SassScript object representing a CSS string *or* a CSS identifier.
class String < Base
@@interpolation_deprecation = Sass::Deprecation.new
# The Ruby value of the string.
#
# @return [String]
attr_reader :value
# Whether this is a CSS ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/list.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/list.rb | module Sass::Script::Value
# A SassScript object representing a CSS list.
# This includes both comma-separated lists and space-separated lists.
class List < Base
# The Ruby array containing the contents of the list.
#
# @return [Array<Value>]
attr_reader :value
alias_method :to_a, :value
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/function.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/function.rb | module Sass::Script::Value
# A SassScript object representing a function.
class Function < Callable
# Constructs a Function value for use in SassScript.
#
# @param function [Sass::Callable] The callable to be used when the
# function is invoked.
def initialize(function)
unless function.typ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/map.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/map.rb | module Sass::Script::Value
# A SassScript object representing a map from keys to values. Both keys and
# values can be any SassScript object.
class Map < Base
# The Ruby hash containing the contents of this map.
#
# @return [Hash<Node, Node>]
attr_reader :value
alias_method :to_h, :value
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/arg_list.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/value/arg_list.rb | module Sass::Script::Value
# A SassScript object representing a variable argument list. This works just
# like a normal list, but can also contain keyword arguments.
#
# The keyword arguments attached to this list are unused except when this is
# passed as a glob argument to a function or mixin.
class ArgLi... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/selector.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/selector.rb | module Sass::Script::Tree
# A SassScript node that will resolve to the current selector.
class Selector < Node
def initialize; end
def children
[]
end
def to_sass(opts = {})
'&'
end
def deep_copy
dup
end
protected
def _perform(environment)
selector = ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/map_literal.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/map_literal.rb | module Sass::Script::Tree
# A class representing a map literal. When resolved, this returns a
# {Sass::Script::Node::Map}.
class MapLiteral < Node
# The key/value pairs that make up this map node. This isn't a Hash so that
# we can detect key collisions once all the keys have been performed.
#
# @... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/interpolation.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/interpolation.rb | module Sass::Script::Tree
# A SassScript object representing `#{}` interpolation outside a string.
#
# @see StringInterpolation
class Interpolation < Node
# @return [Node] The SassScript before the interpolation
attr_reader :before
# @return [Node] The SassScript within the interpolation
attr_r... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/funcall.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/funcall.rb | require 'sass/script/functions'
require 'sass/util'
module Sass::Script::Tree
# A SassScript parse node representing a function call.
#
# A function call either calls one of the functions in
# {Sass::Script::Functions}, or if no function with the given name exists it
# returns a string representation of the ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/unary_operation.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/unary_operation.rb | module Sass::Script::Tree
# A SassScript parse node representing a unary operation,
# such as `-$b` or `not true`.
#
# Currently only `-`, `/`, and `not` are unary operators.
class UnaryOperation < Node
# @return [Symbol] The operation to perform
attr_reader :operator
# @return [Script::Node] The... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/literal.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/literal.rb | module Sass::Script::Tree
# The parse tree node for a literal scalar value. This wraps an instance of
# {Sass::Script::Value::Base}.
#
# List literals should use {ListLiteral} instead.
class Literal < Node
# The wrapped value.
#
# @return [Sass::Script::Value::Base]
attr_reader :value
# C... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/node.rb | module Sass::Script::Tree
# The abstract superclass for SassScript parse tree nodes.
#
# Use \{#perform} to evaluate a parse tree.
class Node
# The options hash for this node.
#
# @return [{Symbol => Object}]
attr_reader :options
# The line of the document on which this node appeared.
#... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/string_interpolation.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/string_interpolation.rb | module Sass::Script::Tree
# A SassScript object representing `#{}` interpolation within a string.
#
# @see Interpolation
class StringInterpolation < Node
# @return [Literal] The string literal before this interpolation.
attr_reader :before
# @return [Node] The SassScript within the interpolation
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/list_literal.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/list_literal.rb | module Sass::Script::Tree
# A parse tree node representing a list literal. When resolved, this returns a
# {Sass::Tree::Value::List}.
class ListLiteral < Node
# The parse nodes for members of this list.
#
# @return [Array<Node>]
attr_reader :elements
# The operator separating the values of th... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/variable.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/variable.rb | module Sass::Script::Tree
# A SassScript parse node representing a variable.
class Variable < Node
# The name of the variable.
#
# @return [String]
attr_reader :name
# The underscored name of the variable.
#
# @return [String]
attr_reader :underscored_name
# @param name [String... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/operation.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/script/tree/operation.rb | module Sass::Script::Tree
# A SassScript parse node representing a binary operation,
# such as `$a + $b` or `"foo" + 1`.
class Operation < Node
@@color_arithmetic_deprecation = Sass::Deprecation.new
@@unitless_equals_deprecation = Sass::Deprecation.new
attr_reader :operand1
attr_reader :operand2
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/prop_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/prop_node.rb | module Sass::Tree
# A static node representing a CSS property.
#
# @see Sass::Tree
class PropNode < Node
# The name of the property,
# interspersed with {Sass::Script::Tree::Node}s
# representing `#{}`-interpolation.
# Any adjacent strings will be merged together.
#
# @return [Array<Stri... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/charset_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/charset_node.rb | module Sass::Tree
# A static node representing an unprocessed Sass `@charset` directive.
#
# @see Sass::Tree
class CharsetNode < Node
# The name of the charset.
#
# @return [String]
attr_accessor :name
# @param name [String] see \{#name}
def initialize(name)
@name = name
sup... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/css_import_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/css_import_node.rb | module Sass::Tree
# A node representing an `@import` rule that's importing plain CSS.
#
# @see Sass::Tree
class CssImportNode < DirectiveNode
# The URI being imported, either as a plain string or an interpolated
# script string.
#
# @return [String, Sass::Script::Tree::Node]
attr_accessor :u... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/for_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/for_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@for` loop.
#
# @see Sass::Tree
class ForNode < Node
# The name of the loop variable.
# @return [String]
attr_reader :var
# The parse tree for the initial expression.
# @return [Script::Tree::Node]
attr_ac... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/content_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/content_node.rb | module Sass
module Tree
# A node representing the placement within a mixin of the include statement's content.
#
# @see Sass::Tree
class ContentNode < Node
end
end
end
| ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb | module Sass
module Tree
# A static node that is the root node of the Sass document.
class RootNode < Node
# The Sass template from which this node was created
#
# @param template [String]
attr_reader :template
# @param template [String] The Sass template from which this node was... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/while_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/while_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@while` loop.
#
# @see Sass::Tree
class WhileNode < Node
# The parse tree for the continuation expression.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] See \{#expr}
def... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/supports_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/supports_node.rb | module Sass::Tree
# A static node representing a `@supports` rule.
#
# @see Sass::Tree
class SupportsNode < DirectiveNode
# The name, which may include a browser prefix.
#
# @return [String]
attr_accessor :name
# The supports condition.
#
# @return [Sass::Supports::Condition]
at... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/comment_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/comment_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing a Sass comment (silent or loud).
#
# @see Sass::Tree
class CommentNode < Node
# The text of the comment, not including `/*` and `*/`.
# Interspersed with {Sass::Script::Tree::Node}s representing `#{}`-interpolation
# if this is... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/trace_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/trace_node.rb | require 'sass/tree/node'
module Sass::Tree
# A solely static node left over after a mixin include or @content has been performed.
# Its sole purpose is to wrap exceptions to add to the backtrace.
#
# @see Sass::Tree
class TraceNode < Node
# The name of the trace entry to add.
#
# @return [String]... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/if_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/if_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@if` statement.
#
# {IfNode}s are a little odd, in that they also represent `@else` and `@else if`s.
# This is done as a linked list:
# each {IfNode} has a link (\{#else}) to the next {IfNode}.
#
# @see Sass::Tree
class If... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/media_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/media_node.rb | module Sass::Tree
# A static node representing a `@media` rule.
# `@media` rules behave differently from other directives
# in that when they're nested within rules,
# they bubble up to top-level.
#
# @see Sass::Tree
class MediaNode < DirectiveNode
# TODO: parse and cache the query immediately if it h... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/directive_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/directive_node.rb | module Sass::Tree
# A static node representing an unprocessed Sass `@`-directive.
# Directives known to Sass, like `@for` and `@debug`,
# are handled by their own nodes;
# only CSS directives like `@media` and `@font-face` become {DirectiveNode}s.
#
# `@import` and `@charset` are special cases;
# they bec... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/node.rb | module Sass
# A namespace for nodes in the Sass parse tree.
#
# The Sass parse tree has three states: dynamic, static Sass, and static CSS.
#
# When it's first parsed, a Sass document is in the dynamic state.
# It has nodes for mixin definitions and `@for` loops and so forth,
# in addition to nodes for CS... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/keyframe_rule_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/keyframe_rule_node.rb | module Sass::Tree
class KeyframeRuleNode < Node
# The text of the directive after any interpolated SassScript has been resolved.
# Since this is only a static node, this is the only value property.
#
# @return [String]
attr_accessor :resolved_value
# @param resolved_value [String] See \{#reso... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/mixin_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/mixin_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing a mixin include.
# When in a static tree, the sole purpose is to wrap exceptions
# to add the mixin to the backtrace.
#
# @see Sass::Tree
class MixinNode < Node
# The name of the mixin.
# @return [String]
attr_reader :name
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/extend_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/extend_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing an `@extend` directive.
#
# @see Sass::Tree
class ExtendNode < Node
# The parsed selector after interpolation has been resolved.
# Only set once {Tree::Visitors::Perform} has been run.
#
# @return [Selector::CommaSequence]
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/return_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/return_node.rb | module Sass
module Tree
# A dynamic node representing returning from a function.
#
# @see Sass::Tree
class ReturnNode < Node
# The expression to return.
#
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to return
... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/warn_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/warn_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@warn` statement.
#
# @see Sass::Tree
class WarnNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initiali... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/each_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/each_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@each` loop.
#
# @see Sass::Tree
class EachNode < Node
# The names of the loop variables.
# @return [Array<String>]
attr_reader :vars
# The parse tree for the list.
# @return [Script::Tree::Node]
attr_acce... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/error_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/error_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@error` statement.
#
# @see Sass::Tree
class ErrorNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initia... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/rule_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/rule_node.rb | require 'pathname'
module Sass::Tree
# A static node representing a CSS rule.
#
# @see Sass::Tree
class RuleNode < Node
# The character used to include the parent selector
PARENT = '&'
# The CSS selector for this rule,
# interspersed with {Sass::Script::Tree::Node}s
# representing `#{}`-in... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb | module Sass
module Tree
# A static node that wraps the {Sass::Tree} for an `@import`ed file.
# It doesn't have a functional purpose other than to add the `@import`ed file
# to the backtrace if an error occurs.
class ImportNode < RootNode
# The name of the imported file as it appears in the Sass ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/debug_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/debug_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@debug` statement.
#
# @see Sass::Tree
class DebugNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initia... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/at_root_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/at_root_node.rb | module Sass
module Tree
# A dynamic node representing an `@at-root` directive.
#
# An `@at-root` directive with a selector is converted to an \{AtRootNode}
# containing a \{RuleNode} at parse time.
#
# @see Sass::Tree
class AtRootNode < Node
# The query for this node (e.g. `(without:... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/function_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/function_node.rb | module Sass
module Tree
# A dynamic node representing a function definition.
#
# @see Sass::Tree
class FunctionNode < Node
# The name of the function.
# @return [String]
attr_reader :name
# The arguments to the function. Each element is a tuple
# containing the variable ... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
grab/engineering-blog | https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/variable_node.rb | _vendor/ruby/2.6.0/gems/sass-3.6.0/lib/sass/tree/variable_node.rb | module Sass
module Tree
# A dynamic node representing a variable definition.
#
# @see Sass::Tree
class VariableNode < Node
# The name of the variable.
# @return [String]
attr_reader :name
# The parse tree for the variable value.
# @return [Script::Tree::Node]
attr_... | ruby | MIT | d8026a4e9cc6348bf38951ee96c523f4ec19f3c4 | 2026-01-04T17:45:10.474201Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.