📄 sql.php
字号:
<?php/** * Auto-generated class. SQL syntax highlighting * * Based on SQL-99 * * PHP version 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt. If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @copyright 2004 Andrey Demenev * @license http://www.php.net/license/3_0.txt PHP License * @link http://pear.php.net/package/Text_Highlighter * @category Text * @package Text_Highlighter * @version generated from: : sql.xml 21 2005-02-04 07:08:05Z andrey * @author Andrey Demenev <demenev@gmail.com> * *//** * @ignore */require_once 'Text/Highlighter.php';/** * Auto-generated class. SQL syntax highlighting * * @author Andrey Demenev <demenev@gmail.com> * @category Text * @package Text_Highlighter * @copyright 2004 Andrey Demenev * @license http://www.php.net/license/3_0.txt PHP License * @version Release: @package_version@ * @link http://pear.php.net/package/Text_Highlighter */class Text_Highlighter_SQL extends Text_Highlighter{ var $_language = 'sql'; /** * PHP4 Compatible Constructor * * @param array $options * @access public */ function Text_Highlighter_SQL($options=array()) { $this->__construct($options); } /** * Constructor * * @param array $options * @access public */ function __construct($options=array()) { $this->_options = $options; $this->_regs = array ( -1 => '/((?i)`)|((?i)\\/\\*)|((?i)(#|--\\s).*)|((?i)[a-z_]\\w*)|((?i)")|((?i)\\()|((?i)\')|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)\\d+l?|\\b0l?\\b)|((?i)0[xX][\\da-f]+l?)/', 0 => '//', 1 => '//', 2 => '/((?i)\\\\.)/', 3 => '/((?i)`)|((?i)\\/\\*)|((?i)(#|--\\s).*)|((?i)[a-z_]\\w*)|((?i)")|((?i)\\()|((?i)\')|((?i)((\\d+|((\\d*\\.\\d+)|(\\d+\\.\\d*)))[eE][+-]?\\d+))|((?i)(\\d*\\.\\d+)|(\\d+\\.\\d*))|((?i)\\d+l?|\\b0l?\\b)|((?i)0[xX][\\da-f]+l?)/', 4 => '/((?i)\\\\.)/', ); $this->_counts = array ( -1 => array ( 0 => 0, 1 => 0, 2 => 1, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 5, 8 => 2, 9 => 0, 10 => 0, ), 0 => array ( ), 1 => array ( ), 2 => array ( 0 => 0, ), 3 => array ( 0 => 0, 1 => 0, 2 => 1, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 5, 8 => 2, 9 => 0, 10 => 0, ), 4 => array ( 0 => 0, ), ); $this->_delim = array ( -1 => array ( 0 => 'quotes', 1 => 'comment', 2 => '', 3 => '', 4 => 'quotes', 5 => 'brackets', 6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => '', ), 0 => array ( ), 1 => array ( ), 2 => array ( 0 => '', ), 3 => array ( 0 => 'quotes', 1 => 'comment', 2 => '', 3 => '', 4 => 'quotes', 5 => 'brackets', 6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => '', ), 4 => array ( 0 => '', ), ); $this->_inner = array ( -1 => array ( 0 => 'identifier', 1 => 'comment', 2 => 'comment', 3 => 'identifier', 4 => 'string', 5 => 'code', 6 => 'string', 7 => 'number', 8 => 'number', 9 => 'number', 10 => 'number', ), 0 => array ( ), 1 => array ( ), 2 => array ( 0 => 'special', ), 3 => array ( 0 => 'identifier', 1 => 'comment', 2 => 'comment', 3 => 'identifier', 4 => 'string', 5 => 'code', 6 => 'string', 7 => 'number', 8 => 'number', 9 => 'number', 10 => 'number', ), 4 => array ( 0 => 'special', ), ); $this->_end = array ( 0 => '/(?i)`/', 1 => '/(?i)\\*\\//',
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -