Class: Comment

Inherits: Node
Defined in: src/nodes/comment.coffee

Overview

Comment node for silent code blocks or pure Haml comments.

Comments nodes can be silent, so they swallow all the children output.

Examples:

silent code block

-# silent
  code comment

Haml comment

/ This is a comment

Haml conditional comment

/[if IE]

Constant Summary

Constants inherited from Node

CLEAR_WHITESPACE_LEFT, CLEAR_WHITESPACE_RIGHT

Instance Method Summary

Methods inherited from Node

#constructor, #addChild, #getOpener, #getCloser, #isPreserved, #markText, #markRunningCode, #markInsertingCode, #evaluate, #render

Instance Method Details

- (void) evaluate()

Evaluate the Haml comments