<?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";
const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
// states whether the parse was successful or not
public $successful = true;
public $retvalue = 0;
private $lex;
private $internalError = false;
private $strip = false;
function __construct($lex, $compiler) {
$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 escape_start_tag($tag_text) {
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
return $tag;
}
public static function escape_end_tag($tag_text) {
return '?<?php ?>>';
}
public function compileVariable($variable) {
if (strpos($variable,'(') == 0) {
// not a variable variable
$var = trim($variable,'\'');
$this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable($var, null, true, false)->nocache;
$this->template->properties['variables'][$var] = $this->compiler->tag_nocache|$this->compiler->nocache;
}
// return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
return '$_smarty_tpl->tpl_vars['. $variable .']->value';
}
#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_TEXT = 10;
const TP_STRIPON = 11;
const TP_STRIPOFF = 12;
const TP_LITERALSTART = 13;
const TP_LITERALEND = 14;
const TP_LITERAL = 15;
const TP_LDEL = 16;
const TP_RDEL = 17;
const TP_DOLLAR = 18;
const TP_ID = 19;
const TP_EQUAL = 20;
const TP_PTR = 21;
const TP_LDELIF = 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_SPACE = 29;
const TP_AS = 30;
const TP_APTR = 31;
const TP_LDELSETFILTER = 32;
const TP_SMARTYBLOCKCHILD = 33;
const TP_LDELSLASH = 34;
const TP_ATTR = 35;
const TP_INTEGER = 36;
const TP_COMMA = 37;
const TP_OPENP = 38;
const TP_CLOSEP = 39;
const TP_MATH = 40;
const TP_UNIMATH = 41;
const TP_ANDSYM = 42;
const TP_ISIN = 43;
const TP_ISDIVBY = 44;
const TP_ISNOTDIVBY = 45;
const TP_ISEVEN = 46;
const TP_ISNOTEVEN = 47;
const TP_ISEVENBY = 48;
const TP_ISNOTEVENBY = 49;
const TP_ISODD = 50;
const TP_ISNOTODD = 51;
const TP_ISODDBY = 52;
const TP_ISNOTODDBY = 53;
const TP_INSTANCEOF = 54;
const TP_QMARK = 55;
const TP_NOT = 56;
const TP_TYPECAST = 57;
const TP_HEX = 58;
const TP_DOT = 59;
const TP_SINGLEQUOTESTRING = 60;
const TP_DOUBLECOLON = 61;
const TP_AT = 62;
const TP_HATCH = 63;
const TP_OPENB = 64;
const TP_CLOSEB = 65;
const TP_EQUALS = 66;
const TP_NOTEQUALS = 67;
const TP_GREATERTHAN = 68;
const TP_LESSTHAN = 69;
const TP_GREATEREQUAL = 70;
没有合适的资源?快使用搜索试试~ 我知道了~
中国省市边界经纬度地图,json格式
共1679个文件
php:1249个
png:272个
html:48个
1星 需积分: 35 45 下载量 76 浏览量
2016-01-05
12:36:04
上传
评论
收藏 5.93MB ZIP 举报
温馨提示
中国各个省市的边界经纬度 数据,从淘宝扒的,已经实际应用过,很全了,希望各位看官喜欢
资源推荐
资源详情
资源评论
收起资源包目录
中国省市边界经纬度地图,json格式 (1679个子文件)
main.css 15KB
fontello-embedded.css 13KB
fontello-embedded.css 13KB
fontello-embedded.css 13KB
main.css 10KB
main.css 8KB
fontello.css 2KB
fontello.css 2KB
fontello.css 2KB
animation.css 2KB
animation.css 2KB
animation.css 2KB
reset.css 1KB
reset.css 1KB
reset.css 1KB
fontello-ie7.css 1023B
fontello-ie7.css 1023B
fontello-ie7.css 1023B
fontello-ie7-codes.css 770B
fontello-ie7-codes.css 770B
fontello-ie7-codes.css 766B
fontello-codes.css 409B
fontello-codes.css 409B
fontello-codes.css 409B
main.css20151216 10KB
main.css20151223 15KB
.DS_Store 6KB
fontello.eot 5KB
fontello.eot 5KB
fontello.eot 5KB
location-32.gif 8KB
location-32.gif 8KB
location-32.gif 8KB
location-32.gif 8KB
location-44.gif 8KB
location-44.gif 8KB
location-44.gif 8KB
location-44.gif 8KB
location-24.gif 7KB
location-24.gif 7KB
location-24.gif 7KB
location-24.gif 7KB
wait-2.gif 5KB
wait-2.gif 5KB
wait-2.gif 5KB
wait-1.gif 2KB
wait-1.gif 2KB
wait-1.gif 2KB
wait-1.gif 2KB
index.html 27KB
index_1.html 24KB
index_1.html 24KB
searchPlaceToMap.html 21KB
index.html 19KB
index.html 19KB
searchPlaceToMap.html 19KB
searchPlaceToMap_1.html 18KB
searchPlaceToMap_1.html 18KB
searchPlaceToMap.html 18KB
index.html 17KB
index.html 17KB
index.html 17KB
index.html 14KB
lineMapSelect.html 13KB
lineMap.html 13KB
lineMap.html 12KB
lineMap.html 12KB
index.html 12KB
houseMap.html 10KB
houseMap.html 10KB
houseMap.html 10KB
houseMap.html 10KB
houseMap.html 10KB
houseMap.html 10KB
houseMap.html 10KB
lineMap.html 9KB
lineMap.html 9KB
lineMap.html 9KB
lineMap.html 9KB
lineMap.html 9KB
scenicDetail.html 8KB
nearbyCondition.html 8KB
nearbyCondition.html 8KB
nearbySearch.html 7KB
nearbySearch.html 7KB
searchMap.html 7KB
searchMap.html 7KB
searchMap.html 7KB
nearbySearch.html 7KB
nearbySearch.html 7KB
lineCheck.html 7KB
lineCheck.html 7KB
lineCheck.html 7KB
lineCheck.html 7KB
lineCheck.html 7KB
lineCheck.html 7KB
lineCheck.html 6KB
index.html20151107 15KB
index.html20151113 17KB
index.html201511132 17KB
共 1679 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17
资源评论
- 但从那2016-03-24假的,哪来的json格式
- ouou20482016-10-01差评,骗分
夏天的一朵云
- 粉丝: 4566
- 资源: 28
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功