Login | Packages | Support | Bugs 

Top Level :: PHP

docblock

Package Information
Summary phpDocumentor-style DocBlock (T_DOC_COMMENT token) tokenizer
Maintainers Greg Beaver (lead) [wishlist] [details]
License PHP License
Description This extension is like the tokenizer extension for PHP.
It takes a document comment (docblock) like this one:

/**
* information {@inlinetag}
* @tags
*/

and parses it into tokens.

The primary function is docblock_tokenize(), which accepts a
string, and returns an array of arrays of array(TOKEN, "token").
TOKEN is one of DOCBLOCK_* constants.

docblock_tokenize() has an optional second bool parameter that
determine whether to output non-essential tokens like
the /** * stuff.

docblock_token_name() takes a DOCBLOCK_* constant and returns its name

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source[ Package Bugs ]
[ Report new bug ]

Available Releases
Version State Release Date Downloads  
0.2.0 alpha 2006-06-27 docblock-0.2.0.tgz (27.5kB) [Changelog]
0.1.0 alpha 2005-11-22 docblock-0.1.0.tgz (26.8kB) [Changelog]


Dependencies
Release 0.2.0: PHP Version: PHP 5.1.0b1 or newer
PEAR Package: PEAR 1.4.3 or newer
Release 0.1.0: PHP Version: PHP 5.1.0b1 or newer
PEAR Package: PEAR 1.4.3 or newer
PRIVACY POLICY | CREDITS
Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 08:05:03 2013 UTC
Bandwidth and hardware provided by: pair Networks