-
-
Save marcioAlmada/168f01d52c7bc21fe0f2 to your computer and use it in GitHub Desktop.
Even.More.Tokens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
callable_arg_type_list: | |
/* empty */ { $$ = NULL; } | |
| '(' ')' { $$ = zend_ast_create_list(0, ZEND_AST_PARAM_LIST); } | |
| '(' non_empty_callable_arg_type_list ')' { $$ = $2; } | |
| T_INT_CAST { $$ = zend_ast_arglist_from_cast("int", sizeof("int")-1); } | |
| T_INTEGER_CAST { $$ = zend_ast_arglist_from_cast("integer", sizeof("integer")-1); } | |
| T_DOUBLE_CAST { $$ = zend_ast_arglist_from_cast("double", sizeof("double")-1); } | |
| T_REAL_CAST { $$ = zend_ast_arglist_from_cast("real", sizeof("real")-1); } | |
| T_FLOAT_CAST { $$ = zend_ast_arglist_from_cast("float", sizeof("float")-1); } | |
| T_STRING_CAST { $$ = zend_ast_arglist_from_cast("string", sizeof("string")-1); } | |
| T_BINARY_CAST { $$ = zend_ast_arglist_from_cast("binary", sizeof("binary")-1); } | |
| T_ARRAY_CAST { $$ = zend_ast_arglist_from_cast("array", sizeof("array")-1); } | |
| T_OBJECT_CAST { $$ = zend_ast_arglist_from_cast("object", sizeof("object")-1); } | |
| T_BOOL_CAST { $$ = zend_ast_arglist_from_cast("bool", sizeof("bool")-1); } | |
| T_BOOLEAN_CAST { $$ = zend_ast_arglist_from_cast("boolean", sizeof("boolean")-1); } | |
| T_UNSET_CAST { $$ = zend_ast_arglist_from_cast("unset", sizeof("unset")-1); } | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment