Source for file tokenizer_test.php
Documentation is available at tokenizer_test.php
$fp = fopen("../phpDocumentor/Converter.inc","r");
$file = fread($fp,filesize("../phpDocumentor/Converter.inc"));
if (!isset(\$this->package_index))
foreach(\$this->all_packages as \$key => \$val)
if (isset(\$this->pkg_elements[\$key]))
if (!isset(\$start)) \$start = \$key;
\$this->package_index[] = array('link' => \"li_\$key.html\", 'title' => \$key);
\$templ->template_dir = \$this->smarty_dir . PATH_DELIMITER . 'templates';
\$templ->compile_dir = \$this->smarty_dir . PATH_DELIMITER . 'templates_c';
\$templ->config_dir = \$this->smarty_dir . PATH_DELIMITER . 'configs';
\$templ->assign(\"packageindex\",\$this->package_index);
\$templ->assign(\"phpdocversion\",PHPDOCUMENTOR_VER);
\$templ->assign(\"phpdocwebsite\",PHPDOCUMENTOR_WEBSITE);
\$templ->assign(\"package\",\$this->package);
\$templ->assign(\"subdir\",'');
$nl_check = array(T_WHITESPACE,T_ENCAPSED_AND_WHITESPACE,T_COMMENT,T_DOC_COMMENT,T_OPEN_TAG,T_CLOSE_TAG,T_INLINE_HTML);
foreach($tokens as $key => $val)
// seeing if we can get line numbers out of the beast
|