(builder, element)
| 3785 | } |
| 3786 | |
| 3787 | function writeElement(builder, element) { |
| 3788 | var elementBuilder = builder.element(mapElementName(element.name), element.attributes); |
| 3789 | element.children.forEach(function(child) { |
| 3790 | writeNode(elementBuilder, child); |
| 3791 | }); |
| 3792 | } |
| 3793 | |
| 3794 | function mapElementName(name) { |
| 3795 | var longFormMatch = /^\{(.*)\}(.*)$/.exec(name); |
nothing calls this directly
no test coverage detected