# File lib/sass/tree/root_node.rb, line 150 def invalid_child?(child) case child when Tree::ExtendNode "Extend directives may only be used within rules." when Tree::PropNode "Properties aren't allowed at the root of a document." + child.pseudo_class_selector_message else return end end