Lines Matching refs:tag

23 "			When enabled the plugin will search for the variables in the tag files with kind 'v',
31 " have to scan every tag, and vim's taglist() function runs extremely slow with a
42 " lookups faster. Cache expiration is based on the mtimes of the tag files.
48 " - outside of <?php?> getting parent tag may cause problems. Heh, even in
252 for tag in tags
253 if has_key(tag, 'namespace')
257 if tag.kind ==? 'n' && tag.name =~? '^'.namespace_match_pattern
259 …call add(namespaced_matches, {'word': tag.name, 'kind': 'n', 'menu': tag.filename, 'info': tag.fil…
260 …elseif has_key(tag, 'namespace') && (tag.kind ==? 'c' || tag.kind ==? 'i' || tag.kind ==? 't') &&
261 …ced_matches, {'word': namespace_for_class.'\'.tag.name, 'kind': tag.kind, 'menu': tag.filename, 'i…
262 elseif (tag.kind ==? 'c' || tag.kind ==? 'i' || tag.kind ==? 't')
263 …ace_matches, {'word': namespace_for_class.'\'.tag.name, 'kind': tag.kind, 'menu': tag.filename, 'i…
267 " away namespaceless tag matches since we can be sure they are invalid
360 for tag in tags
361 …if !has_key(tag, 'namespace') || tag.namespace ==? a:current_namespace || tag.namespace ==? namesp…
362 if has_key(tag, 'namespace')
363 let full_name = tag.namespace.'\'.tag.name " absolute namespaced name (without leading '\')
371 let relative_name = (namespace_part == '' ? '' : namespace_part.'\').tag.name
374 if tag.kind ==? 'n' && tag.name =~? '^'.namespace_match_pattern
375 let info = tag.name.' - '.tag.filename
376 …" patched ctag provides absolute namespace names as tag name, namespace tags dont have namespace f…
377 let full_name = tag.name
405 …elseif tag.kind ==? 'f' && !has_key(tag, 'class') " class related functions (methods) completed el…
406 if has_key(tag, 'signature')
407 let prototype = tag.signature[1:-2] " drop the ()s around the string
409 let prototype = matchstr(tag.cmd,
412 let info = prototype.') - '.tag.filename
414 if !has_key(tag, 'namespace')
415 let ext_functions[tag.name.'('] = info
417 if tag.namespace ==? namespace_for_tag
425 elseif tag.kind ==? 'd'
426 let info = ' - '.tag.filename
427 if !has_key(tag, 'namespace')
428 let ext_constants[tag.name] = info
430 if tag.namespace ==? namespace_for_tag
438 elseif tag.kind ==? 'c' || tag.kind ==? 'i' || tag.kind ==? 't'
439 let info = ' - '.tag.filename
442 if !has_key(tag, 'namespace')
443 let key = tag.name
445 if tag.namespace ==? namespace_for_tag
455 if tag.kind ==? 'c'
457 elseif tag.kind ==? 'i'
459 elseif tag.kind ==? 't'
657 for tag in tags
658 if tag.kind ==? 'f'
659 let item = tag.name
660 if has_key(tag, 'signature')
661 let prototype = tag.signature[1:-2]
663 let prototype = matchstr(tag.cmd,
666 let ext_functions[item.'('] = prototype.') - '.tag['filename']
733 for tag in tags
734 if tag.kind ==? 'v'
735 let item = tag.name
737 if tag.cmd =~? tag['name'].'\s*=\s*new\s\+'
738 let m_menu = matchstr(tag.cmd,
826 for tag in tags
827 if has_key(tag, 'namespace')
830 let relative_name = namespace_part.tag.name
832 …if !has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && stridx(tolower(tag.name), tolower…
833 …matches, {'word': leading_slash.relative_name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag
835 …if has_key(tag, 'namespace') && index(kinds, tag.kind) != -1 && tag.namespace ==? namespace_for_cl…
836 let full_name = tag.namespace.'\'.tag.name " absolute namespaced name (without leading '\')
837 …'\' ? leading_slash.full_name : relative_name, 'kind': tag.kind, 'menu': tag.filename, 'info': tag
840 " if there was a tag with namespace field, assume tag files with namespace support, so the matches
1153 " tag file(s) changed
1155 " no way to clear only the entries originating from the changed tag file
1165 for tag in tags
1166 for prop in keys(tag)
1170 let tag[prop] = substitute(tag[prop], '\\\\', '\\', 'g')
1896 for tag in tags
1897 if tag.kind ==? 'v' && tag.cmd =~? '=\s*new\s\+\zs'.class_name_pattern.'\ze'
1898 let classname = matchstr(tag.cmd, '=\s*new\s\+\zs'.class_name_pattern.'\ze')
1941 for tag in tags
1944 if tag.kind == 'c' || tag.kind == 'i' || tag.kind == 't'
1945 if !has_key(tag, 'namespace')
1946 let no_namespace_candidate = tag.filename
1948 if search_namespace == tolower(tag.namespace)
1949 return tag.filename
1988 for tag in tags
1989 if tag.kind == 'f'
1990 if !has_key(tag, 'namespace')
1991 let no_namespace_candidate = tag.filename
1993 if search_namespace == tolower(tag.namespace)
1994 return tag.filename
2616 for tag in tags
2618 if tag.kind == 'n' && tag.name == import.name
2619 call extend(import, tag)
2625 if (tag.kind == 'c' || tag.kind == 'i' || tag.kind == 't') && tag.name == classname
2626 if has_key(tag, 'namespace')
2628 if tag.namespace == namespace_for_classes
2629 call extend(import, tag)
2636 let tag.namespace = namespace_for_classes
2637 let no_namespace_candidate = tag
2665 " or can be a tag with exactly matching name
2667 for tag in tags
2669 …if !has_key(tag, 'namespace') && (tag.kind == 'n' || tag.kind == 'c' || tag.kind == 'i' || tag.kin…
2670 call extend(import, tag)
2754 " remove leading \, tag files doesn't have those