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
loud | [RW] |
Whether the comment is loud.
Loud comments start with ! and force the comment to be generated irrespective of compilation settings or the comment syntax used. @return [Boolean] |
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] |
silent | [RW] |
Whether or not the comment is silent (that is, doesn‘t output to CSS).
@return [Boolean] |
value | [RW] |
The text of the comment, not including `/*` and `*/`. Interspersed with {Sass::Script::Node}s representing
`#{}`-interpolation if this is a loud comment.
@return [Array<String, Sass::Script::Node>] |
@param value [Array<String, Sass::Script::Node>] See \{value} @param silent [Boolean] See \{silent} @param loud [Boolean] See \{loud}
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