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.
38 39 40 |
# File 'lib/scss_lint/sass/script.rb', line 38 def node_parent @node_parent end |
Instance Method Details
#children ⇒ Object
40 41 42 |
# File 'lib/scss_lint/sass/script.rb', line 40 def children [] end |
#line ⇒ Object
44 45 46 |
# File 'lib/scss_lint/sass/script.rb', line 44 def line @line || (node_parent && node_parent.line) end |
#source_range ⇒ Object
48 49 50 |
# File 'lib/scss_lint/sass/script.rb', line 48 def source_range @source_range || (node_parent && node_parent.source_range) end |