Class Sass::Tree::MixinDefNode
In: lib/sass/tree/mixin_def_node.rb
Parent: Node

A dynamic node representing a mixin definition.

@see Sass::Tree

Methods

new  

Attributes

args  [RW]  The arguments for the mixin. Each element is a tuple containing the variable for argument and the parse tree for the default value of the argument.

@return [Array<(Script::Node, Script::Node)>]

has_content  [RW]  Whether the mixin uses `@content`. Set during the nesting check phase. @return [Boolean]
name  [R]  The mixin name. @return [String]
splat  [RW]  The splat argument for this mixin, if one exists.

@return [Script::Node?]

Public Class methods

@param name [String] The mixin name @param args [Array<(Script::Node, Script::Node)>] See \{args} @param splat [Script::Node] See \{splat}

[Validate]