Class: Code
Inherits: | Node |
Defined in: | src/nodes/code.coffee |
Overview
Code node that represent lines of CoffeeScript code in the Haml template.
Examples:
inline code
- for project in projects
Escaped code assignment
= user.get('email')
Unescaped code assignment
!= user.get('email')
Constant Summary
Constants inherited from Node
CLEAR_WHITESPACE_LEFT, CLEAR_WHITESPACE_RIGHT
Instance Method Summary
- - (void) evaluate() Evaluate the Haml inline code
Methods inherited from Node
#constructor, #addChild, #getOpener, #getCloser, #isPreserved, #markText, #markRunningCode, #markInsertingCode, #evaluate, #render
Instance Method Details
- (void) evaluate()
Evaluate the Haml inline code