import { ParsedMessagePart , ParsedMessagePartType } from './parsed-message-part' ; /**
 * Created by martin on 05.05.2017.
 * A message part consisting of a closing tag like </b> or </strange>.
 */ export class ParsedMessagePartEndTag extends ParsedMessagePart { private _tagname : string ; constructor ( tagname ) { super ( ParsedMessagePartType . END_TAG ) ; this . _tagname = tagname ; } public asDisplayString ( format ? ) { return '</' + this . _tagname + '>' ; } public tagName ( ) { return this . _tagname ; } }