<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
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;
}
}
}
function __toString()
{
return $this->_string;
}
function offsetExists($offset)
{
return isset($this->metadata[$offset]);
}
function offsetGet($offset)
{
return $this->metadata[$offset];
}
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;
}
}
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 12 "smarty_internal_templateparser.y"
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
{
#line 14 "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";
// states whether the parse was successful or not
public $successful = true;
public $retvalue = 0;
private $lex;
private $internalError = false;
function __construct($lex, $compiler) {
// set instance object
self::instance($this);
$this->lex = $lex;
$this->compiler = $compiler;
$this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
$this->compiler->has_variable_string = false;
$this->compiler->prefix_code = array();
$this->prefix_number = 0;
$this->block_nesting_level = 0;
if ($this->security = isset($this->smarty->security_policy)) {
$this->php_handling = $this->smarty->security_policy->php_handling;
} else {
$this->php_handling = $this->smarty->php_handling;
}
$this->is_xml = false;
$this->asp_tags = (ini_get('asp_tags') != '0');
$this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
}
public static function &instance($new_instance = null)
{
static $instance = null;
if (isset($new_instance) && is_object($new_instance))
$instance = $new_instance;
return $instance;
}
public static function escape_start_tag($tag_text) {
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
assert($tag !== false && $count === 1);
return $tag;
}
public static function escape_end_tag($tag_text) {
assert($tag_text === '?>');
return '?<?php ?>>';
}
#line 132 "smarty_internal_templateparser.php"
const TP_VERT = 1;
const TP_COLON = 2;
const TP_COMMENT = 3;
const TP_PHPSTARTTAG = 4;
const TP_PHPENDTAG = 5;
const TP_ASPSTARTTAG = 6;
const TP_ASPENDTAG = 7;
const TP_FAKEPHPSTARTTAG = 8;
const TP_XMLTAG = 9;
const TP_OTHER = 10;
const TP_LINEBREAK = 11;
const TP_LITERALSTART = 12;
const TP_LITERALEND = 13;
const TP_LITERAL = 14;
const TP_LDEL = 15;
const TP_RDEL = 16;
const TP_DOLLAR = 17;
const TP_ID = 18;
const TP_EQUAL = 19;
const TP_PTR = 20;
const TP_LDELIF = 21;
const TP_SPACE = 22;
const TP_LDELFOR = 23;
const TP_SEMICOLON = 24;
const TP_INCDEC = 25;
const TP_TO = 26;
const TP_STEP = 27;
const TP_LDELFOREACH = 28;
const TP_AS = 29;
const TP_APTR = 30;
const TP_SMARTYBLOCKCHILD = 31;
const TP_LDELSLASH = 32;
const TP_INTEGER = 33;
const TP_COMMA = 34;
const TP_MATH = 35;
const TP_UNIMATH = 36;
const TP_ANDSYM = 37;
const TP_ISIN = 38;
const TP_ISDIVBY = 39;
const TP_ISNOTDIVBY = 40;
const TP_ISEVEN = 41;
const TP_ISNOTEVEN = 42;
const TP_ISEVENBY = 43;
const TP_ISNOTEVENBY = 44;
const TP_ISODD = 45;
const TP_ISNOTODD = 46;
const TP_ISODDBY = 47;
const TP_ISNOTODDBY = 48;
const TP_INSTANCEOF = 49;
const TP_OPENP = 50;
const TP_CLOSEP = 51;
const TP_QMARK = 52;
const TP_NOT = 53;
const TP_TYPECAST = 54;
const TP_HEX = 55;
const TP_DOT = 56;
const TP_SINGLEQUOTESTRING = 57;
const TP_DOUBLECOLON = 58;
const TP_AT = 59;
const TP_HATCH = 60;
const TP_OPENB = 61;
const TP_CLOSEB = 62;
const TP_EQUALS = 63;
const TP_NOTEQUALS = 64;
const TP_GREATERTHAN = 65;
const TP_LESSTHAN = 66;
const TP_GREATEREQUAL = 67;
const TP_LESSEQUAL = 68;
const TP_IDENTITY = 69;
const TP_NONEIDENTITY = 70;
const TP_MOD = 71;
const TP_LAND = 72;
const TP_LOR = 73;
const TP_LXOR = 74;
const TP_QUOTE = 75;
const TP_BACKTICK = 76;
const TP_DOLLARID = 77;
const YY_NO_ACTION = 572;
const YY_ACCEPT_ACTION = 571;
cons
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。【项目质量】:所有源码都经过严格测试,可以直接运行。功能在确认正常工作后才上传。【适用人群】:适用于希望学习不同技术领域的小白或进阶学习者。可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。【附加价值】:项目具有较高的学习借鉴价值,也可直接拿来修改复刻。对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。【沟通交流】:有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论
收起资源包目录
(FZY255)基于oecms内核蓝色经典大方手机wap企业网站源码.zip (586个子文件)
admin.css 23KB
default.css 16KB
css.css 12KB
jquerybox.css 4KB
datepicker.css 4KB
datepicker.css 4KB
top.css 3KB
idangerous.swiper.css 2KB
file_manager.css 1KB
left.css 986B
editor.css 855B
footer.css 225B
WdatePicker.css 158B
Thumbs.db 60KB
企业网站模版套程序简单说明.doc 10KB
qq.gif 35KB
d28de7394c6fd1a8ab7a335047778881.gif 15KB
0ffcb426e81f958e8e8b3c6247fafa3b.gif 14KB
8adf909844293b55269f4b6d3c47025a.gif 13KB
35.gif 13KB
42.gif 13KB
ff036c8fdabca27181edf0fa86d5f5dc.gif 13KB
4fb666f224fb1d0c96ed9e9ee03a4e75.gif 13KB
68e2260e96ea2746251776576e3f1603.gif 13KB
8a6c61e06dd96279c16a6ea268c9d870.gif 12KB
5154f969f176d52ebe9752c3a02d696b.gif 12KB
uploading.gif 11KB
40.gif 10KB
18.gif 8KB
19.gif 8KB
11.gif 8KB
default.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
return.gif 3KB
67.gif 3KB
90.gif 3KB
60.gif 3KB
58.gif 3KB
74.gif 2KB
25.gif 2KB
101.gif 2KB
54.gif 2KB
99.gif 2KB
24.gif 2KB
12.gif 2KB
73.gif 2KB
104.gif 2KB
103.gif 2KB
34.gif 2KB
88.gif 2KB
53.gif 2KB
4.gif 2KB
23.gif 2KB
5.gif 2KB
21.gif 2KB
3.gif 2KB
0.gif 2KB
20.gif 2KB
2.gif 2KB
39.gif 2KB
96.gif 2KB
100.gif 2KB
30.gif 2KB
48.gif 2KB
13.gif 2KB
img.gif 2KB
38.gif 2KB
98.gif 2KB
83.gif 2KB
81.gif 2KB
共 586 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
心梓知识
- 粉丝: 6605
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Typescript的react-native-iconfont-cli图标转换工具设计源码
- 基于Android的日记本设计源码
- 基于Python的金融资讯数据展示Web项目设计源码
- 基于Vue的太一·学术前端设计源码
- 基于Vue的湘南科创产业园大屏遥控端设计源码
- 基于Javascript的P03150114 BisLstm_water水产量预测设计源码
- Ai变声工具:实时语音变换器Supertone Shift 可将实时变化直播说话声音
- 基于Python的Struts2全漏洞扫描利用工具设计源码
- 基于Javascript的React Native Helloword设计源码
- 基于Vue的药品管理后台设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功