Class: Comment
Defined in: | node_modules/haml-coffee/src/nodes/comment.coffee |
Inherits: | Node |
Overview
Comment node for silent code blocks or pure
@example silent code block -# silent code comment
@example Haml comment / This is a comment
@example Haml conditional comment /[if IE]
Comments nodes can be silent, so they swallow all the children output.
Constant Summary
Constants inherited from Node
CLEAR_WHITESPACE_LEFT, CLEAR_WHITESPACE_RIGHT
Instance Method Summary
- .evaluate() Evaluate the Haml comments
Inherited Method Summary
Methods inherited from Node
.constructor, .addChild, .getOpener, .getCloser, .isPreserved, .isCommented, .markText, .markRunningCode, .markInsertingCode, .evaluate, .render
Instance Method Details
.evaluate()
Evaluate the Haml comments