Files
news.gitea.happylizard.me/bin/gems/sass-embedded-1.104.1-x86_64-linux-gnu/lib/sass/logger/source_location.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

23 lines
601 B
Ruby

# frozen_string_literal: true
module Sass
module Logger
# A specific location within a source file.
#
# This is always associated with a {SourceSpan} which indicates which file it refers to.
#
# @see https://sass-lang.com/documentation/js-api/interfaces/sourcelocation/
class SourceLocation
# @return [Integer]
attr_reader :offset, :line, :column
# @!visibility private
def initialize(source_location)
@offset = source_location.offset
@line = source_location.line
@column = source_location.column
end
end
end
end