PHP Класс phplinter\Lint\BaseLint

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$locals * @var Array
$node * @var Object
$penalty * @var Float
$reports * @var Array

Открытые методы

Метод Описание
__construct ( $node, $config ) ----------------------------------------------------------------------+ __construct
bind ( BaseLint &$parent ) : this ----------------------------------------------------------------------+ Bind parent node to current node
common_tokens ( $pos ) ----------------------------------------------------------------------+ Tokens common to all scopes.
lint ( ) : Array ----------------------------------------------------------------------+ Analyse node
penalty ( ) : Float ----------------------------------------------------------------------+ Penalty

Защищенные методы

Метод Описание
add_parent_data ( $name, $type ) ----------------------------------------------------------------------+ Add data to node parent
find ( $pos, $token, $limit = 10 ) : Int ----------------------------------------------------------------------+ Find the next token.
next ( $pos ) : Int ----------------------------------------------------------------------+ Return the next meaningfull token
parse_args ( &$i ) : Array ----------------------------------------------------------------------+ Parse argument-list
parse_string ( $pos ) ----------------------------------------------------------------------+ Parse a string token
prev ( $pos ) : Int ----------------------------------------------------------------------+ Return the previous meaningfull token
process_args ( $locals, $args ) ----------------------------------------------------------------------+ Process argument list to function
process_locals ( $locals, $_locals, $args ) ----------------------------------------------------------------------+ Count and process locals at function scope
profile ( $flushmsg = false ) ----------------------------------------------------------------------+ Internal profiling
recurse ( ) ----------------------------------------------------------------------+ Analyse nodes owned by current node ----------------------------------------------------------------------+
report ( $flag, $extra = null, $line = null ) : FIXME ----------------------------------------------------------------------+ FIXME
sec_backtick ( $pos ) ----------------------------------------------------------------------+ Search for security infractions in backticks
sec_callbacks ( $pos ) ----------------------------------------------------------------------+ Search for security infractions in callback positions
sec_includes ( $pos ) ----------------------------------------------------------------------+ Search for security infractions in includes
sec_strings ( $pos ) ----------------------------------------------------------------------+ Search for security infractions in strings
security ( $pos ) ----------------------------------------------------------------------+ Search for security infractions

Описание методов

__construct() публичный Метод

----------------------------------------------------------------------+ __construct
public __construct ( $node, $config )

add_parent_data() защищенный Метод

----------------------------------------------------------------------+ Add data to node parent
protected add_parent_data ( $name, $type )

bind() публичный Метод

----------------------------------------------------------------------+ Bind parent node to current node
public bind ( BaseLint &$parent ) : this
$parent BaseLint
Результат this ----------------------------------------------------------------------+

common_tokens() публичный Метод

----------------------------------------------------------------------+ Tokens common to all scopes.
public common_tokens ( $pos )

find() защищенный Метод

----------------------------------------------------------------------+ Find the next token.
protected find ( $pos, $token, $limit = 10 ) : Int
Результат Int ----------------------------------------------------------------------+

lint() публичный Метод

----------------------------------------------------------------------+ Analyse node
public lint ( ) : Array
Результат Array Reports ----------------------------------------------------------------------+

next() защищенный Метод

----------------------------------------------------------------------+ Return the next meaningfull token
protected next ( $pos ) : Int
Результат Int ----------------------------------------------------------------------+

parse_args() защищенный Метод

----------------------------------------------------------------------+ Parse argument-list
protected parse_args ( &$i ) : Array
Результат Array ----------------------------------------------------------------------+

parse_string() защищенный Метод

----------------------------------------------------------------------+ Parse a string token
protected parse_string ( $pos )

penalty() публичный Метод

----------------------------------------------------------------------+ Penalty
public penalty ( ) : Float
Результат Float ----------------------------------------------------------------------+

prev() защищенный Метод

----------------------------------------------------------------------+ Return the previous meaningfull token
protected prev ( $pos ) : Int
Результат Int ----------------------------------------------------------------------+

process_args() защищенный Метод

----------------------------------------------------------------------+ Process argument list to function
protected process_args ( $locals, $args )

process_locals() защищенный Метод

----------------------------------------------------------------------+ Count and process locals at function scope
protected process_locals ( $locals, $_locals, $args )

profile() защищенный Метод

----------------------------------------------------------------------+ Internal profiling
protected profile ( $flushmsg = false )

recurse() защищенный Метод

----------------------------------------------------------------------+ Analyse nodes owned by current node ----------------------------------------------------------------------+
protected recurse ( )

report() защищенный Метод

----------------------------------------------------------------------+ FIXME
protected report ( $flag, $extra = null, $line = null ) : FIXME
Результат FIXME ----------------------------------------------------------------------+

sec_backtick() защищенный Метод

----------------------------------------------------------------------+ Search for security infractions in backticks
protected sec_backtick ( $pos )

sec_callbacks() защищенный Метод

----------------------------------------------------------------------+ Search for security infractions in callback positions
protected sec_callbacks ( $pos )

sec_includes() защищенный Метод

----------------------------------------------------------------------+ Search for security infractions in includes
protected sec_includes ( $pos )

sec_strings() защищенный Метод

----------------------------------------------------------------------+ Search for security infractions in strings
protected sec_strings ( $pos )

security() защищенный Метод

----------------------------------------------------------------------+ Search for security infractions
protected security ( $pos )

Описание свойств

$locals защищенное свойство

* @var Array
protected $locals

$node защищенное свойство

* @var Object
protected $node

$penalty защищенное свойство

* @var Float
protected $penalty

$reports защищенное свойство

* @var Array
protected $reports