D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
sass-3.2.19
/
lib
/
sass
/
tree
/
Filename :
mixin_node.rb
back
Copy
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 # The splat argument for this mixin, if one exists. # # @return [Script::Node?] attr_accessor :splat # @param name [String] The name of the mixin # @param args [Array<Script::Node>] See \{#args} # @param splat [Script::Node] See \{#splat} # @param keywords [{String => Script::Node}] See \{#keywords} def initialize(name, args, keywords, splat) @name = name @args = args @keywords = keywords @splat = splat super() end end end