Class: Value::Base
- Inherits:
-
Object
- Object
- Value::Base
- Defined in:
- lib/scss_lint/sass/script.rb
Instance Attribute Summary collapse
-
#node_parent ⇒ Object
Returns the value of attribute node_parent.
Instance Method Summary collapse
Instance Attribute Details
#node_parent ⇒ Object
Returns the value of attribute node_parent.
48 49 50 |
# File 'lib/scss_lint/sass/script.rb', line 48 def node_parent @node_parent end |
Instance Method Details
#children ⇒ Object
50 51 52 |
# File 'lib/scss_lint/sass/script.rb', line 50 def children [] end |
#line ⇒ Object
54 55 56 |
# File 'lib/scss_lint/sass/script.rb', line 54 def line @line || (node_parent && node_parent.line) end |
#source_range ⇒ Object
58 59 60 |
# File 'lib/scss_lint/sass/script.rb', line 58 def source_range @source_range || (node_parent && node_parent.source_range) end |