class Sass::Tree::MixinDefNode

@see Sass::Tree
A dynamic node representing a mixin definition.

def _perform(environment)

Parameters:
  • environment (Sass::Environment) -- The lexical environment containing
def _perform(environment)
  environment.set_mixin(@name, Sass::Mixin.new(@name, @args, environment, children))
  []
end

def initialize(name, args)

Parameters:
  • args (Array<(Script::Node, Script::Node)>) -- The arguments for the mixin.
  • name (String) -- The mixin name
def initialize(name, args)
  @name = name
  @args = args
  super()
end