mergeField(current, additional) {
        if (current.inputType === "text")
            current.inputType = additional.inputType;
        if (additional.args.length > current.args.length)
            current.args = additional.args;
        current.alternatives = current.alternatives.concat(additional.alternatives);
    }
/*
    Combines one TemplateField with another. Currently just adds the alternative manifestations,
    e.g. '{{body}}' and '{{body:text}}', but might want to be more clever in the future in case
    the second declaration of the tag in the template has more info.
    */
Combines one TemplateField with another. Currently just adds the alternative manifestations,
e.g. '{{body}}' and '{{body:text}}', but might want to be more clever in the future in case
the second declaration of the tag in the template has more info.
Combines one TemplateField with another . Currently just adds the alternative manifestations e . g . ' {{ body }} ' and ' {{ body : text }} ' but might want to be more clever in the future in case the second declaration of the tag in the template has more info .
mergeField(current, additional) {
        if (current.inputType === "text")
            current.inputType = additional.inputType;
        if (additional.args.length > current.args.length)
            current.args = additional.args;
        current.alternatives = current.alternatives.concat(additional.alternatives);
    }
mergeField ( current , additional ) { if ( current . inputType === "text" ) current . inputType = additional . inputType ; if ( additional . args . length > current . args . length ) current . args = additional . args ; current . alternatives = current . alternatives . concat ( additional . alternatives ) ; }
Combines one TemplateField with another.
Combines one TemplateField with another .