Class: Sass::Tree::DirectiveNode

Inherits:
Object
  • Object
show all
Defined in:
lib/scss_lint/sass/tree.rb

Instance Method Summary collapse

Instance Method Details

#childrenObject



67
68
69
70
71
72
73
74
# File 'lib/scss_lint/sass/tree.rb', line 67

def children
  begin
    additional_children = extract_script_nodes(value)
  rescue NotImplementedError # rubocop:disable HandleExceptions
    # Directive nodes may not define `value`
  end
  concat_expr_lists super, additional_children
end