From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../TextHighlighter/Text/Highlighter/Renderer.php | 302 ++++++++++----------- 1 file changed, 151 insertions(+), 151 deletions(-) (limited to 'framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer.php') diff --git a/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer.php b/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer.php index 87b89156..9fcafe2e 100644 --- a/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer.php +++ b/framework/3rdParty/TextHighlighter/Text/Highlighter/Renderer.php @@ -1,152 +1,152 @@ - - * @copyright 2004-2006 Andrey Demenev - * @license http://www.php.net/license/3_0.txt PHP License - * @version CVS: $Id: Renderer.php,v 1.1 2007/06/03 02:36:35 ssttoo Exp $ - * @link http://pear.php.net/package/Text_Highlighter - */ - -/** - * Abstract base class for Highlighter renderers - * - * @author Andrey Demenev - * @category Text - * @package Text_Highlighter - * @copyright 2004-2006 Andrey Demenev - * @license http://www.php.net/license/3_0.txt PHP License - * @version Release: 0.7.0 - * @link http://pear.php.net/package/Text_Highlighter - * @abstract - */ - -class Text_Highlighter_Renderer -{ - /** - * Renderer options - * - * @var array - * @access protected - */ - public $_options = array(); - - /** - * Current language - * - * @var string - * @access protected - */ - public $_language = ''; - - /** - * Constructor - * - * @access public - * - * @param array $options Rendering options. Renderer-specific. - */ - function __construct($options = array()) - { - $this->_options = $options; - } - - /** - * Resets renderer state - * - * @access public - * - * @param array $options Rendering options. Renderer-specific. - */ - function reset() - { - return; - } - - /** - * Preprocesses code - * - * @access public - * - * @param string $str Code to preprocess - * @return string Preprocessed code - */ - function preprocess($str) - { - return $str; - } - - /** - * Accepts next token - * - * @abstract - * @access public - * - * @param string $class Token class - * @param string $content Token content - */ - function acceptToken($class, $content) - { - return; - } - - /** - * Signals that no more tokens are available - * - * @access public - * - */ - function finalize() - { - return; - } - - /** - * Get generated output - * - * @abstract - * @return mixed Renderer-specific - * @access public - * - */ - function getOutput() - { - return; - } - - /** - * Set current language - * - * @abstract - * @return void - * @access public - * - */ - function setCurrentLanguage($lang) - { - $this->_language = $lang; - } - -} - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * c-hanging-comment-ender-p: nil - * End: - */ - + + * @copyright 2004-2006 Andrey Demenev + * @license http://www.php.net/license/3_0.txt PHP License + * @version CVS: $Id: Renderer.php,v 1.1 2007/06/03 02:36:35 ssttoo Exp $ + * @link http://pear.php.net/package/Text_Highlighter + */ + +/** + * Abstract base class for Highlighter renderers + * + * @author Andrey Demenev + * @category Text + * @package Text_Highlighter + * @copyright 2004-2006 Andrey Demenev + * @license http://www.php.net/license/3_0.txt PHP License + * @version Release: 0.7.0 + * @link http://pear.php.net/package/Text_Highlighter + * @abstract + */ + +class Text_Highlighter_Renderer +{ + /** + * Renderer options + * + * @var array + * @access protected + */ + public $_options = array(); + + /** + * Current language + * + * @var string + * @access protected + */ + public $_language = ''; + + /** + * Constructor + * + * @access public + * + * @param array $options Rendering options. Renderer-specific. + */ + function __construct($options = array()) + { + $this->_options = $options; + } + + /** + * Resets renderer state + * + * @access public + * + * @param array $options Rendering options. Renderer-specific. + */ + function reset() + { + return; + } + + /** + * Preprocesses code + * + * @access public + * + * @param string $str Code to preprocess + * @return string Preprocessed code + */ + function preprocess($str) + { + return $str; + } + + /** + * Accepts next token + * + * @abstract + * @access public + * + * @param string $class Token class + * @param string $content Token content + */ + function acceptToken($class, $content) + { + return; + } + + /** + * Signals that no more tokens are available + * + * @access public + * + */ + function finalize() + { + return; + } + + /** + * Get generated output + * + * @abstract + * @return mixed Renderer-specific + * @access public + * + */ + function getOutput() + { + return; + } + + /** + * Set current language + * + * @abstract + * @return void + * @access public + * + */ + function setCurrentLanguage($lang) + { + $this->_language = $lang; + } + +} + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * c-hanging-comment-ender-p: nil + * End: + */ + ?> \ No newline at end of file -- cgit v1.2.3