commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / packages / PHP / Beautifier / Tokenizer.php
1 <?php
2 /**
3 * Interface for Tokenizer
4 *
5 * PHP version 5
6 *
7 * LICENSE: This source file is subject to version 3.0 of the PHP license
8 * that is available through the world-wide-web at the following URI:
9 * http://www.php.net/license/3_0.txt. If you did not receive a copy of
10 * the PHP License and are unable to obtain it through the web, please
11 * send a note to license@php.net so we can mail you a copy immediately.
12 * @category PHP
13 * @package PHP_Beautifier
14 * @subpackage Tokenizer
15 * @author Claudio Bustos <cdx@users.sourceforge.com>
16 * @copyright 2004-2006 Claudio Bustos
17 * @link http://pear.php.net/package/PHP_Beautifier
18 * @link http://beautifyphp.sourceforge.net
19 * @license http://www.php.net/license/3_0.txt PHP License 3.0
20 * @version CVS: $Id:$
21 */
22 /**
23 * Interface for Tokenizer
24 *
25 * In the constructor, you should send the text of the file / code
26 * The function getTokens() should send the tokens for the code, like
27 * token_get_all()
28 *
29 * @category PHP
30 * @package PHP_Beautifier
31 * @author Claudio Bustos <cdx@users.sourceforge.com>
32 * @copyright 2004-2006 Claudio Bustos
33 * @link http://pear.php.net/package/PHP_Beautifier
34 * @link http://beautifyphp.sourceforge.net
35 * @license http://www.php.net/license/3_0.txt PHP License 3.0
36 * @version Release: 0.1.14
37 */
38 interface PHP_Beautifier_Tokeniker_Interface {
39 public function __construct($sText);
40 public function getTokens();
41 }
42 ?>