Class Sass::Script::Tree::Literal
In: lib/sass/script/tree/literal.rb
Parent: Node

The parse tree node for a literal scalar value. This wraps an instance of {Sass::Script::Value::Base}.

List literals should use {ListLiteral} instead.

Methods

Attributes

value  [R]  The wrapped value.

@return [Sass::Script::Value::Base]

Public Class methods

Creates a new literal value.

@param value [Sass::Script::Value::Base] @see value

Public Instance methods

@see Node#options=

Protected Instance methods

[Validate]