<?php
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;
/**
* counter for prefix code
*
* @var int
*/
public static $prefix_number = 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_NOCACHE = 4;
const TP_TEXT = 5;
const TP_STRIPON = 6;
const TP_STRIPOFF = 7;
const TP_LITERALSTART = 8;
const TP_LITERALEND = 9;
const TP_LITERAL = 10;
const TP_RDEL = 11;
const TP_SIMPELOUTPUT = 12;
const TP_LDEL = 13;
const TP_DOLLARID = 14;
const TP_EQUAL = 15;
const TP_SIMPLETAG = 16;
const TP_ID = 17;
const TP_PTR = 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_INSTANCEOF = 41;
const TP_QMARK = 42;
const TP_NOT = 43;
const TP_TYPECAST = 44;
const TP_HEX = 45;
const TP_DOT = 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_TLOGOP = 56;
const TP_SINGLECOND = 57;
const TP_QUOTE = 58;
const TP_BACKTICK = 59;
const YY_NO_ACTION = 527;
const YY_ACCEPT_ACTION = 526;
const YY_ERROR_ACTION = 525;
const YY_SZ_ACTTAB = 2021;
static public $yy_action = array(242, 10, 131, 178, 255, 76, 157, 5, 83, 293, 12, 149, 152, 116, 292, 93, 331, 217,
284, 295, 221, 331, 226, 36, 21, 169, 35, 43, 308, 99, 26, 42, 39, 294, 235, 244,
30, 200, 187, 80, 1, 251, 320, 206, 442, 123, 53, 242, 10, 130, 98, 255, 194, 399,
5, 83, 442, 240, 298, 107, 11
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于 Codeigniter 3.0.6 + Smarty 3 + AdminLTE + RBAC 的后台管理系统.zip (1383个子文件)
smarty.conf 125B
bootstrap.css 120KB
bootstrap.min.css 97KB
AdminLTE.css 85KB
ueditor.css 44KB
ionicons.css 39KB
editor_ie7.css 37KB
editor_iequirks.css 36KB
editor_ie8.css 35KB
editor_ie.css 35KB
editor_gecko.css 34KB
editor.css 34KB
ueditor.min.css 34KB
ionicons.min.css 33KB
jquery-ui-1.10.3.custom.css 31KB
jquery-ui-1.10.3.custom.min.css 26KB
_all.css 21KB
font-awesome.css 21KB
video-js.css 21KB
image.css 19KB
font-awesome.min.css 17KB
dialog_ie7.css 17KB
dialog_ie8.css 17KB
dialog_iequirks.css 16KB
dialog_ie.css 16KB
dialog_opera.css 16KB
dialog.css 15KB
_all.css 15KB
video.css 15KB
attachment.css 15KB
_all.css 14KB
_all.css 13KB
fullcalendar.css 13KB
video-js.min.css 11KB
shCoreDefault.css 7KB
jquery.fancybox.css 5KB
daterangepicker-bs3.css 5KB
dataTables.bootstrap.css 5KB
slider.css 4KB
bootstrap-colorpicker.css 4KB
scrawl.css 4KB
bootstrap-colorpicker.min.css 3KB
ion.rangeSlider.css 3KB
codemirror.css 3KB
bootstrap-timepicker.css 3KB
charts.css 3KB
uploadify.css 2KB
background.css 2KB
jquery.fancybox-buttons.css 2KB
bootstrap-timepicker.min.css 2KB
bootstrap3-wysihtml5.css 2KB
purple.css 2KB
yellow.css 2KB
orange.css 2KB
green.css 2KB
pink.css 2KB
blue.css 2KB
grey.css 2KB
aero.css 2KB
red.css 2KB
line.css 2KB
bootstrap3-wysihtml5.min.css 2KB
ion.rangeSlider.skinFlat.css 2KB
emotion.css 2KB
dialogbase.css 2KB
ion.rangeSlider.skinNice.css 2KB
contents.css 2KB
music.css 2KB
purple.css 2KB
orange.css 2KB
yellow.css 2KB
purple.css 2KB
orange.css 2KB
yellow.css 2KB
green.css 2KB
green.css 2KB
pink.css 2KB
blue.css 2KB
grey.css 2KB
aero.css 2KB
pink.css 2KB
blue.css 2KB
grey.css 2KB
aero.css 2KB
red.css 2KB
red.css 2KB
all.css 2KB
minimal.css 2KB
polaris.css 2KB
square.css 2KB
purple.css 1KB
orange.css 1KB
yellow.css 1KB
green.css 1KB
pink.css 1KB
blue.css 1KB
grey.css 1KB
aero.css 1KB
futurico.css 1KB
red.css 1KB
共 1383 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
白话机器学习
- 粉丝: 8185
- 资源: 7687
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功