packages/okam-build/lib/processor/template/plugins/helper.js
function transformTextNode(transformer, textNode, tplOpts, options) {
    let handler = findMatchTransformer(transformer, textNode.data, textNode);
    handler && handler.call(this, textNode, tplOpts, options);
}
function transformTextNode(transformer, textNode, tplOpts, options) {
    let handler = findMatchTransformer(transformer, textNode.data, textNode);
    handler && handler.call(this, textNode, tplOpts, options);
}
Transform text node

@inner
@param {Object} transformer the text node transformers
@param {Object} textNode the text node to process
@param {Object} tplOpts the template transform options
@param {Object} options the template transform plugin options