Lines Matching refs:Text
42 // Changing content of all Text nodes
51 if (node.type === 'Text') {
56 // replace({ type: 'Text', val: 'bar', line: node.line });
78 if (children.length === 1 && children[0].type === 'Text') {
79 // Replace the Tag with the Text
80 replace({ type: 'Text', val: children[0].val, line: node.line });
95 { type: 'Text', val: 'a' },
99 { type: 'Text', val: 'b' },
102 nodes: [ { type: 'Text', val: 'c' } ]
104 { type: 'Text', val: 'd' }
107 { type: 'Text', val: 'e' }
114 { type: 'Text', val: 'a' },
115 { type: 'Text', val: 'b' },
116 { type: 'Text', val: 'c' },
117 { type: 'Text', val: 'd' },
118 { type: 'Text', val: 'e' }