SassScript is code that‘s embedded in Sass documents to allow for property values to be computed from variables.
This module contains code that handles the parsing and evaluation of SassScript.
| MATCH | = | /^[!\$](#{Sass::SCSS::RX::IDENT})\s*((?:\|\|)?=|:)\s*(.+?)(!(?i:default))?$/ | The regular expression used to parse variables. | |
| VALIDATE | = | /^[!\$]#{Sass::SCSS::RX::IDENT}$/ | The regular expression used to validate variables without matching. |
Parses a string of SassScript
@param value [String] The SassScript @param line [Fixnum] The number of the line on which the SassScript appeared.
Used for error reporting
@param offset [Fixnum] The number of characters in on `line` that the SassScript started.
Used for error reporting
@param options [{Symbol => Object}] An options hash;
see {file:SASS_REFERENCE.md#sass_options the Sass options documentation}
@return [Script::Node] The root node of the parse tree