◆ getFunctionCalls()
static getFunctionCalls |
( |
|
$source, |
|
|
|
$line, |
|
|
|
$function |
|
) |
| |
|
static |
◆ realTokenIndex()
static realTokenIndex |
( |
array |
$tokens, |
|
|
|
$index, |
|
|
|
$direction |
|
) |
| |
|
staticprivate |
◆ tokenIsOperator()
static tokenIsOperator |
( |
|
$token | ) |
|
|
staticprivate |
We need a separate method to check if tokens are operators because we occasionally add "..." to short parameter versions. If we simply check for $token[0]
then "..." will incorrectly match the "." operator.
- Paramètres
-
array | string | $token | The token to check |
- Renvoie
- bool
◆ tokensFormatted()
static tokensFormatted |
( |
array |
$tokens | ) |
|
|
staticprivate |
◆ tokensToString()
static tokensToString |
( |
array |
$tokens | ) |
|
|
staticprivate |
◆ tokensTrim()
static tokensTrim |
( |
array |
$tokens | ) |
|
|
staticprivate |
◆ $ignore
Valeur initiale := array(
T_CLOSE_TAG => true,
T_COMMENT => true,
T_DOC_COMMENT => true,
T_INLINE_HTML => true,
T_OPEN_TAG => true,
T_OPEN_TAG_WITH_ECHO => true,
T_WHITESPACE => true,
)
◆ $strip
Valeur initiale := array(
'(' => true,
')' => true,
'[' => true,
']' => true,
'{' => true,
'}' => true,
T_OBJECT_OPERATOR => true,
T_DOUBLE_COLON => true,
)
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/kint-php/kint/src/SourceParser.php