Class Sass::Script::Tree::ListLiteral
In: lib/sass/script/tree/list_literal.rb
Parent: Node

A parse tree node representing a list literal. When resolved, this returns a {Sass::Tree::Value::List}.

Methods

Attributes

elements  [R]  The parse nodes for members of this list.

@return [Array<Node>]

separator  [R]  The operator separating the values of the list. Either `:comma` or `:space`.

@return [Symbol]

Public Class methods

Creates a new list literal.

@param elements [Array<Node>] See \{elements} @param separator [Symbol] See \{separator}

Public Instance methods

@see Value#to_sass

Protected Instance methods

[Validate]