original_string: public function add_field($name, $type, $precision=null, $unsigned=null, $notnull=null, $sequence=null, $default=null, $previous=null) {
          $field = new xmldb_field($name, $type, $precision, $unsigned, $notnull, $sequence, $default);
          $this->addField($field, $previous);
  
          return $field;
      }
code: public function add_field($name, $type, $precision=null, $unsigned=null, $notnull=null, $sequence=null, $default=null, $previous=null) {
          $field = new xmldb_field($name, $type, $precision, $unsigned, $notnull, $sequence, $default);
          $this->addField($field, $previous);
  
          return $field;
      }
code_tokens: public function add_field ( $ name , $ type , $ precision = null , $ unsigned = null , $ notnull = null , $ sequence = null , $ default = null , $ previous = null ) { $ field = new xmldb_field ( $ name , $ type , $ precision , $ unsigned , $ notnull , $ sequence , $ default ) ; $ this -> addField ( $ field , $ previous ) ; return $ field ; }
docstring: This function will add one new field to the table with all
  its attributes defined
  
  @param string $name name of the field
  @param int $type XMLDB_TYPE_INTEGER, XMLDB_TYPE_NUMBER, XMLDB_TYPE_CHAR, XMLDB_TYPE_TEXT, XMLDB_TYPE_BINARY
  @param string $precision length for integers and chars, two-comma separated numbers for numbers
  @param bool $unsigned XMLDB_UNSIGNED or null (or false)
  @param bool $notnull XMLDB_NOTNULL or null (or false)
  @param bool $sequence XMLDB_SEQUENCE or null (or false)
  @param mixed $default meaningful default o null (or false)
  @param xmldb_object $previous name of the previous field in the table or null (or false)
  @return xmlddb_field
docstring_tokens: This function will add one new field to the table with all its attributes defined