function TextNode(parent, text) {
  Node.call(this, 'text', parent);

  // A text node has no children instead it has a text container
  this.children = null;
  this._text = text;
  this._noneStyleText = text;
}
function TextNode(parent, text) {
  Node.call(this, 'text', parent);

  
  this.children = null;
  this._text = text;
  this._noneStyleText = text;
}
function TextNode ( parent , text ) { Node . call ( this , 'text' , parent ) ; // A text node has no children instead it has a text container this . children = null ; this . _text = text ; this . _noneStyleText = text ; }
TextNode has a parent and a text containter
TextNode has a parent and a text containter