<?php
/**
* A PHP_CodeSniffer_File object represents a PHP source file and the tokens
* associated with it.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @link http://pear.php.net/package/PHP_CodeSniffer
*/
/**
* A PHP_CodeSniffer_File object represents a PHP source file and the tokens
* associated with it.
*
* It provides a means for traversing the token stack, along with
* other token related operations. If a PHP_CodeSniffer_Sniff finds and error or
* warning within a PHP_CodeSniffer_File, you can raise an error using the
* addError() or addWarning() methods.
*
* <b>Token Information</b>
*
* Each token within the stack contains information about itself:
*
* <code>
* array(
* 'code' => 301, // the token type code (see token_get_all())
* 'content' => 'if', // the token content
* 'type' => 'T_IF', // the token name
* 'line' => 56, // the line number when the token is located
* 'column' => 12, // the column in the line where this token
* // starts (starts from 1)
* 'level' => 2 // the depth a token is within the scopes open
* 'conditions' => array( // a list of scope condition token
* // positions => codes that
* 2 => 50, // opened the scopes that this token exists
* 9 => 353, // in (see conditional tokens section below)
* ),
* );
* </code>
*
* <b>Conditional Tokens</b>
*
* In addition to the standard token fields, conditions contain information to
* determine where their scope begins and ends:
*
* <code>
* array(
* 'scope_condition' => 38, // the token position of the condition
* 'scope_opener' => 41, // the token position that started the scope
* 'scope_closer' => 70, // the token position that ended the scope
* );
* </code>
*
* The condition, the scope opener and the scope closer each contain this
* information.
*
* <b>Parenthesis Tokens</b>
*
* Each parenthesis token (T_OPEN_PARENTHESIS and T_CLOSE_PARENTHESIS) has a
* reference to their opening and closing parenthesis, one being itself, the
* other being its opposite.
*
* <code>
* array(
* 'parenthesis_opener' => 34,
* 'parenthesis_closer' => 40,
* );
* </code>
*
* Some tokens can "own" a set of parenthesis. For example a T_FUNCTION token
* has parenthesis around its argument list. These tokens also have the
* parenthesis_opener and and parenthesis_closer indices. Not all parenthesis
* have owners, for example parenthesis used for arithmetic operations and
* function calls. The parenthesis tokens that have an owner have the following
* auxiliary array indices.
*
* <code>
* array(
* 'parenthesis_opener' => 34,
* 'parenthesis_closer' => 40,
* 'parenthesis_owner' => 33,
* );
* </code>
*
* Each token within a set of parenthesis also has an array index
* 'nested_parenthesis' which is an array of the
* left parenthesis => right parenthesis token positions.
*
* <code>
* 'nested_parenthesis' => array(
* 12 => 15
* 11 => 14
* );
* </code>
*
* <b>Extended Tokens</b>
*
* PHP_CodeSniffer extends and augments some of the tokens created by
* <i>token_get_all()</i>. A full list of these tokens can be seen in the
* <i>Tokens.php</i> file.
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
* @version Release: @package_version@
* @link http://pear.php.net/package/PHP_CodeSniffer
*/
class PHP_CodeSniffer_File
{
/**
* The absolute path to the file associated with this object.
*
* @var string
*/
private $_file = '';
/**
* The EOL character this file uses.
*
* @var string
*/
public $eolChar = '';
/**
* The PHP_CodeSniffer object controlling this run.
*
* @var PHP_CodeSniffer
*/
public $phpcs = null;
/**
* The Fixer object to control fixing errors.
*
* @var PHP_CodeSniffer_Fixer
*/
public $fixer = null;
/**
* The tokenizer being used for this file.
*
* @var object
*/
public $tokenizer = null;
/**
* The tokenizer being used for this file.
*
* @var string
*/
public $tokenizerType = 'PHP';
/**
* The number of tokens in this file.
*
* Stored here to save calling count() everywhere.
*
* @var int
*/
public $numTokens = 0;
/**
* The tokens stack map.
*
* Note that the tokens in this array differ in format to the tokens
* produced by token_get_all(). Tokens are initially produced with
* token_get_all(), then augmented so that it's easier to process them.
*
* @var array()
* @see Tokens.php
*/
private $_tokens = array();
/**
* The errors raised from PHP_CodeSniffer_Sniffs.
*
* @var array()
* @see getErrors()
*/
private $_errors = array();
/**
* The warnings raised from PHP_CodeSniffer_Sniffs.
*
* @var array()
* @see getWarnings()
*/
private $_warnings = array();
/**
* The metrics recorded from PHP_CodeSniffer_Sniffs.
*
* @var array()
* @see getMetrics()
*/
private $_metrics = array();
/**
* Record the errors and warnings raised.
*
* @var bool
*/
private $_recordErrors = true;
/**
* An array of lines that are being ignored.
*
* @var array()
*/
private static $_ignoredLines = array();
/**
* An array of sniffs that are being ignored.
*
* @var array()
*/
private $_ignoredListeners = array();
/**
* An array of message codes that are being ignored.
*
* @var array()
*/
private $_ignoredCodes = array();
/**
* The total number of errors raised.
*
* @var int
*/
private $_errorCount = 0;
/**
* The total number of warnings raised.
*
* @var int
*/
private $_warningCount = 0;
/**
* The total number of errors/warnings that can be fixed.
*
* @var int
*/
private $_fixableCount = 0;
/**
* An array of sniffs listening to this file's processing.
*
* @var array(PHP_CodeSniffer_Sniff)
*/
private $_listeners = array();
/**
* The class name of the sniff currently processing the file.
*
* @var string
*/
private $_activeListener = '';
/**
* An array of sniffs being processed and how long they took.
*
* @var array()
*/
private $_listenerTimes = array();
/**
* An array of rules from the ruleset.xml file.
*
* This value gets set by PHP_CodeSniffer when the object is created.
* It may be empty, indicating that the ruleset does not override
* any of the default sniff settings.
*
* @var array
*/
protected $ruleset = array();
/**
* Constructs a PHP_CodeSniffer_File.
*
* @param string $file The absolute path to the file to process.
* @param array(string) $listeners The initial listeners listening to processing of this file.
* to processing of this file.
* @param array $ruleset An array of rules from t
没有合适的资源?快使用搜索试试~ 我知道了~
8国多语言出海拼单商城源码 返佣产品自动匹配订单源码下载.zip
共2000个文件
php:2491个
png:471个
xml:233个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 30 下载量 150 浏览量
2022-06-16
22:21:00
上传
评论 4
收藏 32.67MB ZIP 举报
温馨提示
8 国多语言出海拼单商城源码,国际多语言出海商城返佣产品自动匹配订单源码。此网站是很多巴西客户定制的原型,已投放运营符合当地本地化。 多语言商城返利返佣投资理财派单自带余额宝,采取全新支付端口,后台语音提醒,客服中心改造豪华页面,赠送客服系统。 后台釆取全新框架,余额宝分为定数时间,一天,七天,一个月,一年,合约到就会产生收益。 源码特点: 1、会员自动匹配订单,获得佣金收入。 2、添加了巴西葡语+英文+代理后台+修复已知 BUG+优化系统内核+打开速度更快,运行更顺畅,具体功能以演示站为准。 3、好友扫描你的二维码注册完成即可成为你的下级、会员 3 级代理模式分享下级获得下级返佣收入 4、邀请会员注册奖励机制,邀请会员充值奖励机制,全部自动发放 5、三级分销,每个推广链接带独立客服,等级优先,充值提现优先完美后台查询功能
资源推荐
资源详情
资源评论
收起资源包目录
8国多语言出海拼单商城源码 返佣产品自动匹配订单源码下载.zip (2000个子文件)
phpcs.bat 715B
phpcbf.bat 595B
cityjson 84B
app.3227f3b635185d55fe635aae11c7880e.css 725KB
app.7b22fa66c2af28f12bf32977d4b82694.css 725KB
mobiscroll.custom-3.0.0-beta6.min.css 237KB
bootstrap.css 195KB
bootstrap.min.css 158KB
bootstrap.min.css 156KB
light7.css 129KB
style.css 123KB
bootstrap.min.css 118KB
layui.css 71KB
bootstrap-grid.css 66KB
bootstrap-grid.min.css 49KB
editor_ie8.css 49KB
editor_iequirks.css 48KB
editor_ie.css 48KB
font.css 48KB
editor_gecko.css 47KB
editor.css 47KB
hui.css 45KB
userstyle.css 36KB
fonts.css 30KB
index_style.css 30KB
console.css 25KB
intlTelInput.css 25KB
user.css 25KB
light7-swiper.css 22KB
share.css 20KB
intlTelInput.min.css 19KB
swiper.min.css 19KB
base.css 17KB
base.css 17KB
public.css 16KB
dialog_ie8.css 15KB
dialog_iequirks.css 14KB
dialog_ie.css 14KB
layer.css 14KB
swiper-bundle.min.css 14KB
dialog.css 13KB
swiper.min.css 13KB
layui.mobile.css 10KB
funding.css 9KB
funding.css 9KB
nv.d3.min.css 9KB
console.custom.css 9KB
deposit.css 8KB
my.css 8KB
laydate.css 7KB
register-login.css 7KB
reg.css 7KB
style2.css 7KB
index.css 7KB
unlock.css 6KB
mobile.css 6KB
zTreeStyle.css 6KB
team-reports.css 6KB
grab.css 6KB
michat.css 5KB
account.css 5KB
layer.css 5KB
deposit-record.css 5KB
login.css 5KB
bootstrap-reboot.css 5KB
index.css 5KB
account-details.css 4KB
console.layout.css 4KB
record.css 4KB
bootstrap-reboot.min.css 4KB
withdrawal.css 4KB
theme.css 4KB
mobileSelect.css 3KB
accesssub.css 3KB
console.form.css 3KB
lixibao.css 3KB
iconfont.css 3KB
access.css 3KB
contents.css 3KB
icon-font.css 3KB
phone.css 3KB
record.css 3KB
common.css 3KB
console.layui.css 2KB
login.css 2KB
recharge.css 2KB
rolldate.css 2KB
personal.css 2KB
style.css 2KB
style.css 2KB
index.css 2KB
templates.css 2KB
copyformatting.css 1KB
autocompleter.css 1KB
invitation.css 1KB
wsc.css 1KB
toolbar.css 1KB
wsc.css 1KB
order.css 1KB
notice.css 1KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
源码时代网
- 粉丝: 400
- 资源: 3015
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- S1017基于VUE+nodejs的点餐管理系统.zip
- 地理信息系统JTS库:空间分析与几何运算实现指南
- ESP8266+wifimanager库实现自动配网和时间天气显示
- windows计划任务python脚本调度器工具
- 产品销售网站源代码.zip
- 车辆管理系统源代码.zip
- S0079基于vue+SSM的“约球”足球类安卓app源码.zip
- win32汇编环境,对话框程序中复选框的一般操作示例
- 级联选择器,element-ui版本号 2.13.0
- VLC-Android-3.5.7-armeabi-v7a.apk
- sudo-1.9.16p2-1.ky10.x86-64.zip
- 3b113医疗用品销售网站_springboot+vue.zip
- 3b111研究生双选信息发布系统_springboot+vue.zip
- 3b112养老院管理系统_springboot+vue.zip
- 3b114医院病房信息管理系统_springboot+vue.zip
- 3b115基于JavaWeb的艺术摄影预约_springboot+vue0.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页