original_string: public function getHTML() {
          $tag = "<" . $this->name;
          $q = $this->quoteType;
  
          //build attribute strings
          foreach( $this->attrs as $name=>$value ) {
              //if true, such as CHECKED, we just add the name
              if( $value === true ) {
                  $tag .= " $name";
              } else if( is_string( $value ) ) { //if it's a string, we add attr="value"
                  $tag .= " {$name}={$q}{$value}{$q}";
              }
          }
  
          //short tag? close it and return
          if( $this->isShortTag ) {
              $tag .= ' />';
              
              return $tag;
          }
  
          //not a short tag, close it
          $tag .= '>';
  
          //add the children if they exist
          if( $this->hasChildren() ) {
              foreach( $this->getChildren() as $child ) {
                  $tag .= $child->getHTML();
              }
          }
  
          //closing tag
          $tag .= "</{$this->name}>";
  
          return $tag;
      }
code: public function getHTML() {
          $tag = "<" . $this->name;
          $q = $this->quoteType;
  
          //build attribute strings
          foreach( $this->attrs as $name=>$value ) {
              //if true, such as CHECKED, we just add the name
              if( $value === true ) {
                  $tag .= " $name";
              } else if( is_string( $value ) ) { //if it's a string, we add attr="value"
                  $tag .= " {$name}={$q}{$value}{$q}";
              }
          }
  
          //short tag? close it and return
          if( $this->isShortTag ) {
              $tag .= ' />';
              
              return $tag;
          }
  
          //not a short tag, close it
          $tag .= '>';
  
          //add the children if they exist
          if( $this->hasChildren() ) {
              foreach( $this->getChildren() as $child ) {
                  $tag .= $child->getHTML();
              }
          }
  
          //closing tag
          $tag .= "</{$this->name}>";
  
          return $tag;
      }
code_tokens: public function getHTML ( ) { $ tag = "<" . $ this -> name ; $ q = $ this -> quoteType ; //build attribute strings
   foreach ( $ this -> attrs as $ name => $ value ) { //if true, such as CHECKED, we just add the name
   if ( $ value === true ) { $ tag .= " $name" ; } else if ( is_string ( $ value ) ) { //if it's a string, we add attr="value"
   $ tag .= " {$name}={$q}{$value}{$q}" ; } } //short tag? close it and return
   if ( $ this -> isShortTag ) { $ tag .= ' />' ; return $ tag ; } //not a short tag, close it
   $ tag .= '>' ; //add the children if they exist
   if ( $ this -> hasChildren ( ) ) { foreach ( $ this -> getChildren ( ) as $ child ) { $ tag .= $ child -> getHTML ( ) ; } } //closing tag
   $ tag .= "</{$this->name}>" ; return $ tag ; }
docstring: Parses the class data and outputs the HTML.
  
  @return the HTML string of the element
docstring_tokens: Parses the class data and outputs the HTML .