class Sass::Tree::MixinNode
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
Attributes
args[RW]
The arguments to the mixin. @return [Array<Script::Node>]
keywords[RW]
A hash from keyword argument names to values. @return [{String => Script::Node}]
name[R]
The name of the mixin. @return [String]
splat[RW]
The splat argument for this mixin, if one exists.
@return [Script::Node?]
Public Class Methods
new(name, args, keywords, splat)
click to toggle source
@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}
Calls superclass method
# File lib/sass/tree/mixin_node.rb, line 31 def initialize(name, args, keywords, splat) @name = name @args = args @keywords = keywords @splat = splat super() end