1 | Node = require('./node')
|
2 |
|
3 | {escapeQuotes} = require('../util/text')
|
4 |
|
5 | # Text node that contains everything that cannot be detected as
|
6 | # other node. This is normally plain text to be inserted into the
|
7 | # template.
|
8 | #
|
9 | module.exports = class Text extends Node
|
10 |
|
11 | # Evaluate the text node.
|
12 | #
|
13 | evaluate: -> @opener = @markText(escapeQuotes(@expression))
|