/usr/lib/ruby/vendor_ruby/sass/tree/mixin_node.rb is in ruby-sass 3.1.15-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | require 'sass/tree/node'
module Sass::Tree
# A static node representing a mixin include.
# When in a static tree, the sole purpose is to wrap exceptions
# to add the mixin to the backtrace.
#
# @see Sass::Tree
class MixinNode < Node
# The name of the mixin.
# @return [String]
attr_reader :name
# The arguments to the mixin.
# @return [Array<Script::Node>]
attr_accessor :args
# A hash from keyword argument names to values.
# @return [{String => Script::Node}]
attr_accessor :keywords
# @param name [String] The name of the mixin
# @param args [Array<Script::Node>] See \{#args}
# @param keywords [{String => Script::Node}] See \{#keywords}
def initialize(name, args, keywords)
@name = name
@args = args
@keywords = keywords
super()
end
end
end
|