We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05fa158 + f5c0250 commit 5624b9bCopy full SHA for 5624b9b
src/ast.hpp
@@ -1944,6 +1944,10 @@ namespace Sass {
1944
name_ = n.substr(pos + 1);
1945
}
1946
1947
+ virtual bool unique() const
1948
+ {
1949
+ return false;
1950
+ }
1951
virtual std::string ns_name() const
1952
{
1953
std::string name("");
@@ -2066,6 +2070,11 @@ namespace Sass {
2066
2070
Selector_Qualifier(ParserState pstate, std::string n)
2067
2071
: Simple_Selector(pstate, n)
2068
2072
{ }
2073
2074
2075
+ if (name()[0] == '#') return true;
2076
+ else return false;
2077
2069
2078
virtual unsigned long specificity()
2079
2080
if (name()[0] == '#') return Constants::Specificity_ID;
0 commit comments