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]

Public Class Methods

new(name, args, keywords) click to toggle source

@param name [String] The name of the mixin @param args [Array<Script::Node>] See {#args} @param keywords [{String => Script::Node}] See {#keywords}

# File lib/sass/tree/mixin_node.rb, line 25
def initialize(name, args, keywords)
  @name = name
  @args = args
  @keywords = keywords
  super()
end