mirror of
https://github.com/danog/sass-site.git
synced 2025-01-09 14:38:39 +01:00
915 lines
24 KiB
HTML
915 lines
24 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<title>
|
||
|
Class: Sass::Tree::MixinNode
|
||
|
|
||
|
— Documentation by YARD 0.9.12
|
||
|
|
||
|
</title>
|
||
|
|
||
|
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
||
|
|
||
|
<link rel="stylesheet" href="../../../assets/css/docs.css" type="text/css" charset="utf-8" />
|
||
|
|
||
|
<script type="text/javascript" charset="utf-8">
|
||
|
hasFrames = window.top.frames.main ? true : false;
|
||
|
relpath = '../../';
|
||
|
framesUrl = "../../frames.html#!Sass/Tree/MixinNode.html";
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
||
|
|
||
|
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
||
|
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="header">
|
||
|
<div id="menu">
|
||
|
|
||
|
<a href="../../_index.html">Index (M)</a> »
|
||
|
<span class='title'><span class='object_link'><a href="../../Sass.html" title="Sass (module)">Sass</a></span></span> » <span class='title'><span class='object_link'><a href="../Tree.html" title="Sass::Tree (module)">Tree</a></span></span>
|
||
|
»
|
||
|
<span class="title">MixinNode</span>
|
||
|
|
||
|
|
||
|
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
||
|
</div>
|
||
|
|
||
|
<div id="search">
|
||
|
|
||
|
<a class="full_list_link" id="class_list_link"
|
||
|
href="../../class_list.html">
|
||
|
Class List
|
||
|
</a>
|
||
|
|
||
|
<a class="full_list_link" id="method_list_link"
|
||
|
href="../../method_list.html">
|
||
|
Method List
|
||
|
</a>
|
||
|
|
||
|
<a class="full_list_link" id="file_list_link"
|
||
|
href="../../file_list.html">
|
||
|
File List
|
||
|
</a>
|
||
|
|
||
|
</div>
|
||
|
<div class="clear"></div>
|
||
|
</div>
|
||
|
|
||
|
<iframe id="search_frame"></iframe>
|
||
|
|
||
|
<div id="content"><h1>Class: Sass::Tree::MixinNode
|
||
|
|
||
|
|
||
|
|
||
|
</h1>
|
||
|
|
||
|
<dl class="box">
|
||
|
|
||
|
<dt class="r1">Inherits:</dt>
|
||
|
<dd class="r1">
|
||
|
<span class="inheritName"><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span></span>
|
||
|
|
||
|
<ul class="fullTree">
|
||
|
<li>Object</li>
|
||
|
|
||
|
<li class="next"><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span></li>
|
||
|
|
||
|
<li class="next">Sass::Tree::MixinNode</li>
|
||
|
|
||
|
</ul>
|
||
|
<a href="#" class="inheritanceTree">show all</a>
|
||
|
|
||
|
</dd>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<dt class="r2 last">Defined in:</dt>
|
||
|
<dd class="r2 last">.ruby-sass/lib/sass/tree/mixin_node.rb</dd>
|
||
|
|
||
|
</dl>
|
||
|
<div class="clear"></div>
|
||
|
|
||
|
<h2>Overview</h2><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>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.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
|
||
|
<p class="tag_title">See Also:</p>
|
||
|
<ul class="see">
|
||
|
|
||
|
<li><span class='object_link'><a href="../Tree.html" title="Sass::Tree (module)">Sass::Tree</a></span></li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
||
|
<ul class="summary">
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#args-instance_method" title="#args (instance method)">#<strong>args</strong> ⇒ Array<Script::Tree::Node> </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>The arguments to the mixin.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#keywords-instance_method" title="#keywords (instance method)">#<strong>keywords</strong> ⇒ Sass::Util::NormalizedMap<Script::Tree::Node> </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>A hash from keyword argument names to values.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#kwarg_splat-instance_method" title="#kwarg_splat (instance method)">#<strong>kwarg_splat</strong> ⇒ Node? </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>The second splat argument for this mixin, if one exists.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> ⇒ String </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="note title readonly">readonly</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>The name of the mixin.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#splat-instance_method" title="#splat (instance method)">#<strong>splat</strong> ⇒ Node? </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>The first splat argument for this mixin, if one exists.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span></h3>
|
||
|
<p class="inherited"><span class='object_link'><a href="Node.html#children-instance_method" title="Sass::Tree::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#filename-instance_method" title="Sass::Tree::Node#filename (method)">#filename</a></span>, <span class='object_link'><a href="Node.html#has_children-instance_method" title="Sass::Tree::Node#has_children (method)">#has_children</a></span>, <span class='object_link'><a href="Node.html#line-instance_method" title="Sass::Tree::Node#line (method)">#line</a></span>, <span class='object_link'><a href="Node.html#options-instance_method" title="Sass::Tree::Node#options (method)">#options</a></span>, <span class='object_link'><a href="Node.html#source_range-instance_method" title="Sass::Tree::Node#source_range (method)">#source_range</a></span></p>
|
||
|
|
||
|
|
||
|
|
||
|
<h2>
|
||
|
Instance Method Summary
|
||
|
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
||
|
</h2>
|
||
|
|
||
|
<ul class="summary">
|
||
|
|
||
|
<li class="public ">
|
||
|
<span class="summary_signature">
|
||
|
|
||
|
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(name, args, keywords, splat, kwarg_splat) ⇒ MixinNode </a>
|
||
|
|
||
|
|
||
|
|
||
|
</span>
|
||
|
|
||
|
|
||
|
<span class="note title constructor">constructor</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<span class="summary_desc"><div class='inline'>
|
||
|
<p>A new instance of MixinNode.</p>
|
||
|
</div></span>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span></h3>
|
||
|
<p class="inherited"><span class='object_link'><a href="Node.html#<<-instance_method" title="Sass::Tree::Node#<< (method)">#<<</a></span>, <span class='object_link'><a href="Node.html#==-instance_method" title="Sass::Tree::Node#== (method)">#==</a></span>, <span class='object_link'><a href="Node.html#bubbles%3F-instance_method" title="Sass::Tree::Node#bubbles? (method)">#bubbles?</a></span>, <span class='object_link'><a href="Node.html#css-instance_method" title="Sass::Tree::Node#css (method)">#css</a></span>, <span class='object_link'><a href="Node.html#css_with_sourcemap-instance_method" title="Sass::Tree::Node#css_with_sourcemap (method)">#css_with_sourcemap</a></span>, <span class='object_link'><a href="Node.html#deep_copy-instance_method" title="Sass::Tree::Node#deep_copy (method)">#deep_copy</a></span>, <span class='object_link'><a href="Node.html#each-instance_method" title="Sass::Tree::Node#each (method)">#each</a></span>, <span class='object_link'><a href="Node.html#inherited-class_method" title="Sass::Tree::Node.inherited (method)">inherited</a></span>, <span class='object_link'><a href="Node.html#inspect-instance_method" title="Sass::Tree::Node#inspect (method)">#inspect</a></span>, <span class='object_link'><a href="Node.html#invisible%3F-instance_method" title="Sass::Tree::Node#invisible? (method)">#invisible?</a></span>, <span class='object_link'><a href="Node.html#style-instance_method" title="Sass::Tree::Node#style (method)">#style</a></span>, <span class='object_link'><a href="Node.html#to_sass-instance_method" title="Sass::Tree::Node#to_sass (method)">#to_sass</a></span>, <span class='object_link'><a href="Node.html#to_scss-instance_method" title="Sass::Tree::Node#to_scss (method)">#to_scss</a></span></p>
|
||
|
|
||
|
<div id="constructor_details" class="method_details_list">
|
||
|
<h2>Constructor Details</h2>
|
||
|
|
||
|
<div class="method_details first">
|
||
|
<h3 class="signature first" id="initialize-instance_method">
|
||
|
|
||
|
#<strong>initialize</strong>(name, args, keywords, splat, kwarg_splat) ⇒ <tt><span class='object_link'><a href="" title="Sass::Tree::MixinNode (class)">MixinNode</a></span></tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>Returns a new instance of MixinNode</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
<p class="tag_title">Parameters:</p>
|
||
|
<ul class="param">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>name</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>String</tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>The name of the mixin</p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>args</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#args-instance_method" title="Sass::Tree::MixinNode#args (method)">#args</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>splat</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#splat-instance_method" title="Sass::Tree::MixinNode#splat (method)">#splat</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>kwarg_splat</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#kwarg_splat-instance_method" title="Sass::Tree::MixinNode#kwarg_splat (method)">#kwarg_splat</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>keywords</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Util/NormalizedMap.html" title="Sass::Util::NormalizedMap (class)">Sass::Util::NormalizedMap</a></span><<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#keywords-instance_method" title="Sass::Tree::MixinNode#keywords (method)">#keywords</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
43
|
||
|
44
|
||
|
45
|
||
|
46
|
||
|
47
|
||
|
48
|
||
|
49
|
||
|
50</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 43</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='id identifier rubyid_keywords'>keywords</span><span class='comma'>,</span> <span class='id identifier rubyid_splat'>splat</span><span class='comma'>,</span> <span class='id identifier rubyid_kwarg_splat'>kwarg_splat</span><span class='rparen'>)</span>
|
||
|
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
||
|
<span class='ivar'>@args</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span>
|
||
|
<span class='ivar'>@keywords</span> <span class='op'>=</span> <span class='id identifier rubyid_keywords'>keywords</span>
|
||
|
<span class='ivar'>@splat</span> <span class='op'>=</span> <span class='id identifier rubyid_splat'>splat</span>
|
||
|
<span class='ivar'>@kwarg_splat</span> <span class='op'>=</span> <span class='id identifier rubyid_kwarg_splat'>kwarg_splat</span>
|
||
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div id="constructor_details" class="method_details_list">
|
||
|
<h2>Constructor Details</h2>
|
||
|
|
||
|
<div class="method_details first">
|
||
|
<h3 class="signature first" id="initialize-instance_method">
|
||
|
|
||
|
#<strong>initialize</strong>(name, args, keywords, splat, kwarg_splat) ⇒ <tt><span class='object_link'><a href="" title="Sass::Tree::MixinNode (class)">MixinNode</a></span></tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>Returns a new instance of MixinNode</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
<p class="tag_title">Parameters:</p>
|
||
|
<ul class="param">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>name</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>String</tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>The name of the mixin</p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>args</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#args-instance_method" title="Sass::Tree::MixinNode#args (method)">#args</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>splat</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#splat-instance_method" title="Sass::Tree::MixinNode#splat (method)">#splat</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>kwarg_splat</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#kwarg_splat-instance_method" title="Sass::Tree::MixinNode#kwarg_splat (method)">#kwarg_splat</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
<li>
|
||
|
|
||
|
<span class='name'>keywords</span>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Util/NormalizedMap.html" title="Sass::Util::NormalizedMap (class)">Sass::Util::NormalizedMap</a></span><<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
—
|
||
|
<div class='inline'>
|
||
|
<p>See <span class='object_link'><a href="#keywords-instance_method" title="Sass::Tree::MixinNode#keywords (method)">#keywords</a></span></p>
|
||
|
</div>
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
43
|
||
|
44
|
||
|
45
|
||
|
46
|
||
|
47
|
||
|
48
|
||
|
49
|
||
|
50</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 43</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='id identifier rubyid_keywords'>keywords</span><span class='comma'>,</span> <span class='id identifier rubyid_splat'>splat</span><span class='comma'>,</span> <span class='id identifier rubyid_kwarg_splat'>kwarg_splat</span><span class='rparen'>)</span>
|
||
|
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
|
||
|
<span class='ivar'>@args</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span>
|
||
|
<span class='ivar'>@keywords</span> <span class='op'>=</span> <span class='id identifier rubyid_keywords'>keywords</span>
|
||
|
<span class='ivar'>@splat</span> <span class='op'>=</span> <span class='id identifier rubyid_splat'>splat</span>
|
||
|
<span class='ivar'>@kwarg_splat</span> <span class='op'>=</span> <span class='id identifier rubyid_kwarg_splat'>kwarg_splat</span>
|
||
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div id="instance_attr_details" class="attr_details">
|
||
|
<h2>Instance Attribute Details</h2>
|
||
|
|
||
|
|
||
|
<span id="args=-instance_method"></span>
|
||
|
<div class="method_details first">
|
||
|
<h3 class="signature first" id="args-instance_method">
|
||
|
|
||
|
#<strong>args</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>The arguments to the mixin.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
<p class="tag_title">Returns:</p>
|
||
|
<ul class="return">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
16
|
||
|
17
|
||
|
18</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 16</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_args'>args</span>
|
||
|
<span class='ivar'>@args</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<span id="keywords=-instance_method"></span>
|
||
|
<div class="method_details ">
|
||
|
<h3 class="signature " id="keywords-instance_method">
|
||
|
|
||
|
#<strong>keywords</strong> ⇒ <tt><span class='object_link'><a href="../Util/NormalizedMap.html" title="Sass::Util::NormalizedMap (class)">Sass::Util::NormalizedMap</a></span><<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>A hash from keyword argument names to values.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
<p class="tag_title">Returns:</p>
|
||
|
<ul class="return">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="../Util/NormalizedMap.html" title="Sass::Util::NormalizedMap (class)">Sass::Util::NormalizedMap</a></span><<span class='object_link'><a href="../Script/Tree/Node.html" title="Sass::Script::Tree::Node (class)">Script::Tree::Node</a></span>></tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
20
|
||
|
21
|
||
|
22</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 20</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_keywords'>keywords</span>
|
||
|
<span class='ivar'>@keywords</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<span id="kwarg_splat=-instance_method"></span>
|
||
|
<div class="method_details ">
|
||
|
<h3 class="signature " id="kwarg_splat-instance_method">
|
||
|
|
||
|
#<strong>kwarg_splat</strong> ⇒ <tt><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span>?</tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>The second splat argument for this mixin, if one exists.</p>
|
||
|
|
||
|
<p>If this exists, it's always a map of keyword arguments, and <span class='object_link'><a href="#splat-instance_method" title="Sass::Tree::MixinNode#splat (method)">#splat</a></span> is
|
||
|
always either a list or an arglist.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
<p class="tag_title">Returns:</p>
|
||
|
<ul class="return">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span>?</tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
36
|
||
|
37
|
||
|
38</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 36</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_kwarg_splat'>kwarg_splat</span>
|
||
|
<span class='ivar'>@kwarg_splat</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<span id=""></span>
|
||
|
<div class="method_details ">
|
||
|
<h3 class="signature " id="name-instance_method">
|
||
|
|
||
|
#<strong>name</strong> ⇒ <tt>String</tt> <span class="extras">(readonly)</span>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>The name of the mixin.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
<p class="tag_title">Returns:</p>
|
||
|
<ul class="return">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt>String</tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
12
|
||
|
13
|
||
|
14</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 12</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
||
|
<span class='ivar'>@name</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<span id="splat=-instance_method"></span>
|
||
|
<div class="method_details ">
|
||
|
<h3 class="signature " id="splat-instance_method">
|
||
|
|
||
|
#<strong>splat</strong> ⇒ <tt><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span>?</tt>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</h3><div class="docstring">
|
||
|
<div class="discussion">
|
||
|
|
||
|
<p>The first splat argument for this mixin, if one exists.</p>
|
||
|
|
||
|
<p>This could be a list of positional arguments, a map of keyword arguments,
|
||
|
or an arglist containing both.</p>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tags">
|
||
|
|
||
|
<p class="tag_title">Returns:</p>
|
||
|
<ul class="return">
|
||
|
|
||
|
<li>
|
||
|
|
||
|
|
||
|
<span class='type'>(<tt><span class='object_link'><a href="Node.html" title="Sass::Tree::Node (class)">Node</a></span>?</tt>)</span>
|
||
|
|
||
|
|
||
|
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
</div><table class="source_code">
|
||
|
<tr>
|
||
|
<td>
|
||
|
<pre class="lines">
|
||
|
|
||
|
|
||
|
28
|
||
|
29
|
||
|
30</pre>
|
||
|
</td>
|
||
|
<td>
|
||
|
<pre class="code"><span class="info file"># File '.ruby-sass/lib/sass/tree/mixin_node.rb', line 28</span>
|
||
|
|
||
|
<span class='kw'>def</span> <span class='id identifier rubyid_splat'>splat</span>
|
||
|
<span class='ivar'>@splat</span>
|
||
|
<span class='kw'>end</span></pre>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div id="footer">
|
||
|
Generated on Mon Oct 22 13:20:58 2018 by
|
||
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||
|
0.9.12 (ruby-2.5.3).
|
||
|
</div>
|
||
|
<script>
|
||
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||
|
|
||
|
ga('create', 'UA-535380-14', 'sass-lang.com');
|
||
|
ga('send', 'pageview');
|
||
|
</script>
|
||
|
|
||
|
</body>
|
||
|
</html>
|