Class: Sass::Callable

Inherits:
Struct
  • Object
show all
Defined in:
/var/www/sass-pages/.sass/lib/sass/engine.rb

Overview

A Sass mixin or function.

name: String
The name of the mixin/function.
args: Array<(String, Script::Node)>
The arguments for the mixin/function. Each element is a tuple containing the name of the argument and the parse tree for the default value of the argument.
environment: Sass::Environment
The environment in which the mixin/function was defined. This is captured so that the mixin/function can have access to local variables defined in its scope.
tree: Array<Tree::Node>
The parse tree for the mixin/function.

Instance Attribute Summary

Instance Attribute Details

- args

- environment

- name

- tree