Class: Filter

Defined in: node_modules/haml-coffee/src/nodes/filter.coffee
Inherits: Node

Overview

Filter node for built-in Haml filters:

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

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 filters

.render()

Render the filter

.renderFilterContent(indent, output, type = 'text')

Render the child content, but omits empty lines at the end

@param [Array] output where to append the content @param [Number] indent the content indention