Class: Filter
Inherits: | Node |
Defined in: | src/nodes/filter.coffee |
Overview
Filter node for built-in Haml filters:
:escaped
:preserve
:plain
:css
:javascript
:cdata
Only the top level filter marker is a filter node, containing child nodes are text nodes.
Constant Summary
Constants inherited from Node
CLEAR_WHITESPACE_LEFT, CLEAR_WHITESPACE_RIGHT
Instance Method Summary
- - (void) evaluate() Evaluate the Haml filters
- - (void) render() Render the filter
- - (void) renderFilterContent(indent, output, type = 'text') Render the child content, but omits empty lines at the end
Methods inherited from Node
#constructor, #addChild, #getOpener, #getCloser, #isPreserved, #markText, #markRunningCode, #markInsertingCode, #evaluate, #render
Instance Method Details
- (void) evaluate()
Evaluate the Haml filters
- (void) render()
Render the filter
- (void) renderFilterContent(indent, output, type = 'text')
Render the child content, but omits empty lines at the end