Class Sass::Script::Tree::MapLiteral
In: lib/sass/script/tree/map_literal.rb
Parent: Node

A class representing a map literal. When resolved, this returns a {Sass::Script::Node::Map}.

Methods

_perform   children   deep_copy   inspect   new   to_sass  

Attributes

pairs  [R]  The key/value pairs that make up this map node. This isn‘t a Hash so that we can detect key collisions once all the keys have been performed.

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

Public Class methods

Creates a new map literal.

@param pairs [Array<(Node, Node)>] See \{pairs}

Public Instance methods

inspect(opts = {})

Alias for to_sass

Protected Instance methods

[Validate]