Home
last modified time | relevance | path

Searched refs:T_FUNCTION (Results 1 – 7 of 7) sorted by relevance

/PHP-Parser/test/code/parser/stmt/namespace/
H A DgroupUseErrors.test90 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 DEmulativeTest.php387 [\T_FUNCTION, 'function'],
392 [\T_FUNCTION, 'function'],
/PHP-Parser/grammar/
H A Dphp.y73 %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; }
474T_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 DTokenPolyfill.php231 …\T_FUNCTION, \T_CONST, \T_RETURN, \T_PRINT, \T_YIELD, \T_LIST, \T_SWITCH, \T_ENDSWITCH, \T_CASE, \…
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php1676 Stmt\ClassMethod::class . '->flags' => ['pModifiers', \T_FUNCTION],
1682 Expr\Closure::class . '->static' => ['pStatic', \T_FUNCTION],
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php108 public const T_FUNCTION = 343; define in PhpParser\\Parser\\Php7
H A DPhp8.php108 public const T_FUNCTION = 343; define in PhpParser\\Parser\\Php8

Completed in 40 milliseconds