Searched refs:T_FUNCTION (Results 1 – 7 of 7) sorted by relevance
/PHP-Parser/test/code/parser/stmt/namespace/ |
H A D | groupUseErrors.test | 90 Syntax error, unexpected T_NAME_FULLY_QUALIFIED, expecting T_STRING or T_FUNCTION or T_CONST or T_N…
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 387 [\T_FUNCTION, 'function'], 392 [\T_FUNCTION, 'function'],
|
/PHP-Parser/grammar/ |
H A D | php.y | 73 %token T_FUNCTION 155 …| T_FUNCTION | T_CONST | T_RETURN | T_PRINT | T_YIELD | T_LIST | T_SWITCH | T_ENDSWITCH | T_CASE |… 264 T_FUNCTION { $$ = Stmt\Use_::TYPE_FUNCTION; } 474 … T_FUNCTION optional_ref fn_identifier '(' parameter_list ')' optional_return_type block_or_error 476 …| attributes T_FUNCTION optional_ref fn_identifier '(' parameter_list ')' optional_return_type blo… 851 …| optional_attributes method_modifiers T_FUNCTION optional_ref identifier_maybe_reserved '(' param… 1097 … | T_FUNCTION optional_ref '(' parameter_list ')' lexical_vars optional_return_type block_or_error 1099 …| T_STATIC T_FUNCTION optional_ref '(' parameter_list ')' lexical_vars optional_return_type … 1106 …| attributes T_FUNCTION optional_ref '(' parameter_list ')' lexical_vars optional_return_type bloc… 1108 …| attributes T_STATIC T_FUNCTION optional_ref '(' parameter_list ')' lexical_vars optional_return_…
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | TokenPolyfill.php | 231 …\T_FUNCTION, \T_CONST, \T_RETURN, \T_PRINT, \T_YIELD, \T_LIST, \T_SWITCH, \T_ENDSWITCH, \T_CASE, \…
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 1676 Stmt\ClassMethod::class . '->flags' => ['pModifiers', \T_FUNCTION], 1682 Expr\Closure::class . '->static' => ['pStatic', \T_FUNCTION],
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 108 public const T_FUNCTION = 343; define in PhpParser\\Parser\\Php7
|
H A D | Php8.php | 108 public const T_FUNCTION = 343; define in PhpParser\\Parser\\Php8
|
Completed in 26 milliseconds