<?php
/* ========================================================================
* $Id: smarty_internal_templateparser.php 160096 2016-12-15 05:57:25Z onez $
*
* Email: www@onez.cn
* QQ: 6200103
* HomePage: http://www.onezphp.com
* ========================================================================
* Copyright 2016-2017 佳蓝科技.
*
* ======================================================================== */
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
public function __construct($s, $m = array())
{
if ($s instanceof TP_yyToken) {
$this->string = $s->string;
$this->metadata = $s->metadata;
} else {
$this->string = (string) $s;
if ($m instanceof TP_yyToken) {
$this->metadata = $m->metadata;
} elseif (is_array($m)) {
$this->metadata = $m;
}
}
}
public function __toString()
{
return $this->string;
}
public function offsetExists($offset)
{
return isset($this->metadata[ $offset ]);
}
public function offsetGet($offset)
{
return $this->metadata[ $offset ];
}
public function offsetSet($offset, $value)
{
if ($offset === null) {
if (isset($value[ 0 ])) {
$x = ($value instanceof TP_yyToken) ? $value->metadata : $value;
$this->metadata = array_merge($this->metadata, $x);
return;
}
$offset = count($this->metadata);
}
if ($value === null) {
return;
}
if ($value instanceof TP_yyToken) {
if ($value->metadata) {
$this->metadata[ $offset ] = $value->metadata;
}
} elseif ($value) {
$this->metadata[ $offset ] = $value;
}
}
public function offsetUnset($offset)
{
unset($this->metadata[ $offset ]);
}
}
class TP_yyStackEntry
{
public $stateno; /* The state-number */
public $major; /* The major token value. This is the code
** number for the token at this stack level */
public $minor; /* The user-supplied minor token value. This
** is the value of the token */
}
;
#line 11 "../smarty/lexer/smarty_internal_templateparser.y"
/**
* Smarty Template Parser Class
*
* This is the template parser.
* It is generated from the smarty_internal_templateparser.y file
*
* @author Uwe Tews <uwe.tews@googlemail.com>
*/
class Smarty_Internal_Templateparser
{
#line 23 "../smarty/lexer/smarty_internal_templateparser.y"
const Err1 = "Security error: Call to private object member not allowed";
const Err2 = "Security error: Call to dynamic object member not allowed";
const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
/**
* result status
*
* @var bool
*/
public $successful = true;
/**
* return value
*
* @var mixed
*/
public $retvalue = 0;
/**
* @var
*/
public $yymajor;
/**
* last index of array variable
*
* @var mixed
*/
public $last_index;
/**
* last variable name
*
* @var string
*/
public $last_variable;
/**
* root parse tree buffer
*
* @var Smarty_Internal_ParseTree
*/
public $root_buffer;
/**
* current parse tree object
*
* @var Smarty_Internal_ParseTree
*/
public $current_buffer;
/**
* lexer object
*
* @var Smarty_Internal_Templatelexer
*/
public $lex;
/**
* internal error flag
*
* @var bool
*/
private $internalError = false;
/**
* {strip} status
*
* @var bool
*/
public $strip = false;
/**
* compiler object
*
* @var Smarty_Internal_TemplateCompilerBase
*/
public $compiler = null;
/**
* smarty object
*
* @var Smarty
*/
public $smarty = null;
/**
* template object
*
* @var Smarty_Internal_Template
*/
public $template = null;
/**
* block nesting level
*
* @var int
*/
public $block_nesting_level = 0;
/**
* security object
*
* @var Smarty_Security
*/
public $security = null;
/**
* template prefix array
*
* @var \Smarty_Internal_ParseTree[]
*/
public $template_prefix = array();
/**
* security object
*
* @var \Smarty_Internal_ParseTree[]
*/
public $template_postfix = array();
/**
* constructor
*
* @param Smarty_Internal_Templatelexer $lex
* @param Smarty_Internal_TemplateCompilerBase $compiler
*/
function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->lex = $lex;
$this->compiler = $compiler;
$this->template = $this->compiler->template;
$this->smarty = $this->template->smarty;
$this->security = isset($this->smarty->security_policy) ? $this->smarty->security_policy : false;
$this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template();
}
/**
* insert PHP code in current buffer
*
* @param string $code
*/
public function insertPhpCode($code)
{
$this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Tag($this, $code));
}
/**
* merge PHP code with prefix code and return parse tree tag object
*
* @param string $code
*
* @return Smarty_Internal_ParseTree_Tag
*/
public function mergePrefixCode($code)
{
$tmp = '';
foreach ($this->compiler->prefix_code as $preCode) {
$tmp .= $preCode;
}
$this->compiler->prefix_code = array();
$tmp .= $code;
return new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp, true));
}
const TP_VERT = 1;
const TP_COLON = 2;
const TP_PHP = 3;
const TP_TEXT = 4;
const TP_STRIPON = 5;
const TP_STRIPOFF = 6;
const TP_LITERALSTART = 7;
const TP_LITERALEND = 8;
const TP_LITERAL = 9;
const TP_RDEL = 10;
const TP_SIMPELOUTPUT = 11;
const TP_LDEL = 12;
const TP_DOLLARID = 13;
const TP_EQUAL = 14;
const TP_SIMPLETAG = 15;
const TP_ID = 16;
const TP_PTR = 17;
const TP_LDELMAKENOCACHE = 18;
const TP_LDELIF = 19;
const TP_LDELFOR = 20;
const TP_SEMICOLON = 21;
const TP_INCDEC = 22;
const TP_TO = 23;
const TP_STEP = 24;
const TP_LDELFOREACH = 25;
const TP_SPACE = 26;
const TP_AS = 27;
const TP_APTR = 28;
const TP_LDELSETFILTER = 29;
const TP_SMARTYBLOCKCHILDPARENT = 30;
const TP_CLOSETAG = 31;
const TP_LDELSLASH = 32;
const TP_ATTR = 33;
const TP_INTEGER = 34;
const TP_COMMA = 35;
const TP_OPENP = 36;
const TP_CLOSEP = 37;
const TP_MATH = 38;
const TP_UNIMATH = 39;
const TP_ISIN = 40;
const TP_QMARK = 41;
const TP_NOT = 42;
const TP_TYPECAST = 43;
const TP_HEX = 44;
const TP_DOT = 45;
const TP_INSTANCEOF = 46;
const TP_SINGLEQUOTESTRING = 47;
const TP_DOUBLECOLON = 48;
const TP_NAMESPACE = 49;
const TP_AT = 50;
const TP_HATCH = 51;
const TP_OPENB = 52;
const TP_CLOSEB = 53;
const TP_DOLLAR = 54;
const TP_LOGOP = 55;
const TP_SLOGOP = 56;
const TP_TLOGOP = 57;
const TP_SINGLECOND = 58;
const TP_QUOTE = 59;
const TP_BACKTICK = 60;
const YY_NO_ACTION = 532;
const YY_ACCEPT_ACTION = 531;
const YY_ERROR_ACTION = 530;
const YY_SZ_ACTTAB = 2114;
static public $yy_action = array(268, 8, 132, 210, 245, 197, 183,
没有合适的资源?快使用搜索试试~ 我知道了~
基于PHP的仿QQ群聊天系统源码.zip
共967个文件
php:422个
js:169个
gif:155个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 12 浏览量
2023-10-10
21:14:46
上传
评论
收藏 9.05MB ZIP 举报
温馨提示
基于PHP的仿QQ群聊天系统源码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于PHP的仿QQ群聊天系统源码.zip (967个子文件)
bootstrap.css 143KB
bootstrap.min.css 118KB
bootstrap-ie6.min.css 94KB
AdminLTE.min.css 87KB
animate.css 74KB
animate.min.css 52KB
_all-skins.min.css 41KB
datepicker3.css 33KB
font-awesome.min.css 30KB
jquery-ui.min.css 30KB
jedate.css 29KB
ionicons.min.css 29KB
jedate.css 25KB
default.css 20KB
select2.css 17KB
select2.min.css 15KB
viewer.css 8KB
group.css 7KB
viewer.min.css 6KB
jedate.css 5KB
jedate.css 5KB
skin-black-light.min.css 4KB
skin-blue-light.min.css 4KB
skin-yellow-light.min.css 4KB
skin-purple-light.min.css 4KB
skin-green-light.min.css 4KB
skin-red-light.min.css 4KB
style.css 4KB
skin-black.min.css 3KB
skin-blue.min.css 3KB
skin-purple.min.css 3KB
skin-yellow.min.css 3KB
skin-green.min.css 3KB
qq.css 3KB
skin-red.min.css 3KB
colorpicker.css 2KB
simple.css 2KB
style.css 2KB
signin.css 2KB
style.css 2KB
group.css 1KB
ie.css 1KB
style.css 1KB
page.css 1010B
prettify.css 960B
style.css 210B
home.css 173B
style.css 13B
wry.dat 9.14MB
fontawesome-webfont.eot 162KB
ionicons.eot 75KB
glyphicons-halflings-regular.eot 20KB
static.gif 35KB
35.gif 13KB
42.gif 13KB
40.gif 10KB
18.gif 8KB
19.gif 8KB
11.gif 8KB
32.gif 7KB
49.gif 6KB
29.gif 6KB
97.gif 5KB
65.gif 5KB
31.gif 5KB
46.gif 5KB
57.gif 5KB
45.gif 5KB
8.gif 5KB
43.gif 4KB
33.gif 4KB
68.gif 4KB
26.gif 4KB
14.gif 4KB
7.gif 4KB
51.gif 4KB
10.gif 4KB
47.gif 4KB
72.gif 4KB
6.gif 3KB
94.gif 3KB
84.gif 3KB
41.gif 3KB
17.gif 3KB
9.gif 3KB
28.gif 3KB
50.gif 3KB
95.gif 3KB
22.gif 3KB
27.gif 3KB
67.gif 3KB
90.gif 3KB
60.gif 3KB
loading.gif 3KB
58.gif 3KB
74.gif 2KB
25.gif 2KB
101.gif 2KB
54.gif 2KB
99.gif 2KB
共 967 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
易小侠
- 粉丝: 6501
- 资源: 9万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- A keygen for Navicat(C++)
- navicat数据库管理工具管理数据库,执行查询、编辑数据、备份和恢复
- 期末大作业基于Matlab语言的路标识别项目资料齐全+说明文档+GUI界面+详细注释.zip
- 基于Phthon+OpenCV的组合动作常规摄像头人脸活体检测识别系统
- 基于YOLOv5的7.0版本+pyqt5界面+人脸表情识别(源码+项目说明)
- 基于 Python活体人脸检测及身份检测,口罩佩戴检测,绿码检测以及声纹身份识别
- springboot《4S店车辆管理系统》论文+ppt
- 基于Python+Dlib和face-recognition的人脸监测,活体检测,人脸识别
- uml画图工具最新版本
- 基于Flask+MySQL实现的网页问答平台源码+部署文档+数据资料.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功