# File lib/sass/tree/visitors/check_nesting.rb, line 123 def invalid_prop_parent?(parent, child) unless is_any_of?(parent, VALID_PROP_PARENTS) "Properties are only allowed within rules, directives, mixin includes, or other properties." + child.pseudo_class_selector_message end end