Class | Sass::Tree::CommentNode |
In: |
lib/sass/tree/comment_node.rb
|
Parent: | Node |
A static node representing a Sass comment (silent or loud).
@see Sass::Tree
resolved_value | [RW] |
The text of the comment after any interpolated SassScript has been
resolved. Only set once \{Tree::Visitors::Perform} has been run.
@return [String] |
type | [RW] |
The type of the comment. `:silent` means it‘s never output to CSS, `:normal` means it‘s output in every
compile mode except `:compressed`, and `:loud` means it‘s output even
in `:compressed`.
@return [Symbol] |
value | [RW] |
The text of the comment, not including `/*` and `*/`. Interspersed with {Sass::Script::Tree::Node}s representing
`#{}`-interpolation if this is a loud comment.
@return [Array<String, Sass::Script::Tree::Node>] |
@param value [Array<String, Sass::Script::Tree::Node>] See \{value} @param type [Symbol] See \{type}
Compares the contents of two comments.
@param other [Object] The object to compare with @return [Boolean] Whether or not this node and the other object
are the same