Class: Sass::Logger::SourceSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/sass/logger/source_span.rb

Overview

A span of text within a source file.

Instance Attribute Summary collapse

Instance Attribute Details

#contextString? (readonly)

Returns:

  • (String, nil)


16
17
18
# File 'lib/sass/logger/source_span.rb', line 16

def context
  @context
end

#endSourceLocation (readonly)

Returns:



10
11
12
# File 'lib/sass/logger/source_span.rb', line 10

def end
  @end
end

#startSourceLocation (readonly)

Returns:



10
11
12
# File 'lib/sass/logger/source_span.rb', line 10

def start
  @start
end

#textString (readonly)

Returns:

  • (String)


13
14
15
# File 'lib/sass/logger/source_span.rb', line 13

def text
  @text
end

#urlString? (readonly)

Returns:

  • (String, nil)


16
17
18
# File 'lib/sass/logger/source_span.rb', line 16

def url
  @url
end