Lines Matching refs:type

28 "			This option controls the number of characters the user needs to type before
1070 \ 'menu':get(docblock.var, 'type', ''),
1083 let return_type = get(docblock.return, 'type', '')
1116 …(res, {'word':property_name, 'kind': 'v', 'menu': property_info.type, 'info': property_info.type })
1129 …(res, {'word':property_name, 'kind': 'v', 'menu': property_info.type, 'info': property_info.type })
1373 …return phpcomplete#GetCallChainReturnType(class_info['properties'][method].type, '\', a:imports, m…
1379 …return phpcomplete#GetCallChainReturnType(class_info['static_properties'][method].type, '\', a:imp…
1390 " try to find the method's return type in docblock comment
1401 …if has_key(docblock.return, 'type') || has_key(docblock.var, 'type') || len(docblock.properties) >…
1403 …let type = has_key(docblock.return, 'type') ? docblock.return.type : has_key(docblock.var, 'type')…
1405 if type == ''
1408 let type = property.type
1414 let type = return_type_hint
1417 " there's a namespace in the type, threat the type as FQCN
1418 if type =~ '\\'
1419 let parts = split(substitute(type, '^\\', '', ''), '\')
1427 " no namespace in the type, threat it as a relative classname
1428 let returnclass = type
1586 " built in function, grab the return type from the info string
1595 let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
1596 if type != ''
1597 let classname_candidate = type
1599 …" try to expand the classname of the returned type with the context got from the function's source…
1627 …" scan the file backwards from current line for explicit type declaration (@var $variable Classnam…
1693 " search for type hinted arguments
1717 let classname_candidate = matchstr(param.type, class_name_pattern.'\(\[\]\)\?')
1821 " built in function, grab the return type from the info string
1831 let type = has_key(docblock.return, 'type') ? docblock.return.type : return_type_hint
1832 if type != ''
1833 let classname_candidate = type
1835 …" try to expand the classname of the returned type with the context got from the function's source…
1847 " the iterated expression should return an array type
2219 function! phpcomplete#GenerateBuiltinClassStub(type, class_info) " {{{ argument
2220 let re = a:type.' '.a:class_info['name']." {"
2228 let re .= "\n\t// @var $".name." ".info.type
2234 let re .= "\n\t// @var ".name." ".info.type
2265 return { a:type : a:class_info['name'],
2355 …let res.description = substitute(matchstr(a:docblock, '\zs\_.\{-}\ze\(@type\|@var\|@param\|@return…
2364 \ 'type': phpcomplete#GetTypeFromDocBlockParam(get(parts, 1, '')),
2375 \ 'type': phpcomplete#GetTypeFromDocBlockParam(get(return_parts, 1, '')),
2385 \ 'type': phpcomplete#GetTypeFromDocBlockParam(get(parts, 2, '')),
2390 let var_line = filter(copy(docblock_lines), 'v:val =~? "^\\(@var\\|@type\\)"')
2392 let var_parts = matchlist(var_line[0], '\(@var\|@type\)\s\+\(\S\+\)\s*\(.*\)')
2395 \ 'type': phpcomplete#GetTypeFromDocBlockParam(get(var_parts, 2, '')),
2405 \ 'type': phpcomplete#GetTypeFromDocBlockParam(get(parts, 2, '')),
2465 for type in types
2466 if index(primitive_types, type) == -1
2467 return type
2486 let res .= "\t".arginfo['name'].' '.arginfo['type']
2494 if has_key(a:info.return, 'type')
2495 let res .= "\nReturn:\n\t".a:info['return']['type']
2505 let res .= "\t".excinfo['type']
2513 if has_key(a:info.var, 'type')
2514 let res .= "Type:\n\t".a:info['var']['type']."\n"
2770 " Later it is possible to add some help to values, or type of defined variable
2782 …ed','serialize(':'mixed $value | string','settype(':'mixed &$var, string $type | bool','strval(':'…
2787 …string $type = "MX"] | bool','closelog(':'void | bool','define_syslog_variables(':'void | void','d…
2796type, string $variable_name | bool','filter_id(':'string $filtername | int','filter_input_array(':…
2799type [, mixed $options] | array','imagealphablending(':'resource $image, bool $blendmode | bool','…
2800type = "all"] | mixed','iconv_mime_decode_headers(':'string $encoded_headers [, int $mode = 0 [, s…
2803 …[, array $regs] | int','mb_get_info(':'[ string $type = "all"] | mixed','mb_http_input(':'[ string…
2804 …l']={'mssql_bind(':'resource $stmt, string $param_name, mixed &$var, int $type [, bool $is_output …
2808 …result, int $offset | bool','pg_result_status(':'resource $result [, int $type = PGSQL_STATUS_LONG…
2811 …andle, bool $want_peer | string','stream_socket_pair(':'int $domain, int $type, int $protocol | ar…
2815type':'string'},'code':{'initializer':'','type':'int'},'file':{'initializer':'','type':'string'},'…
2817 …erties': {'name':{'initializer':'','type':''},'mime':{'initializer':'','type':''},'postname':{'ini…
2818type':'integer'},'m':{'initializer':'','type':'integer'},'d':{'initializer':'','type':'integer'},'…
2819 …Directory','properties': {'path':{'initializer':'','type':'string'},'handle':{'initializer':'','ty…
2820type':'string'},'ownerElement':{'initializer':'','type':'DOMElement'},'schemaTypeInfo':{'initializ…
2821type':'int'},'message':{'initializer':'','type':'string'},'code':{'initializer':'','type':'int'},'…
2822type':'int'},'code':{'initializer':'','type':'int'},'column':{'initializer':'','type':'int'},'mess…
2823type':'string'},'client_version':{'initializer':'','type':'string'},'driver_version':{'initializer…
2824type':'array'},'code':{'initializer':'','type':'int'},'message':{'initializer':'','type':'string'}…
2825type = 0] | bool','return_type':'bool'},'canWrite':{'signature':'void | bool','return_type':'bool'…
2826 …filter','properties': {'filtername':{'initializer':'','type':''},'params':{'initializer':'','type'…
2830type':'int'},'baseURI':{'initializer':'','type':'string'},'depth':{'initializer':'','type':'int'},…
2832type':'int'},'statusSys':{'initializer':'','type':'int'},'numFiles':{'initializer':'','type':'int'…