• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2!define-scanner class_name "BOOST_TT_AUX_TYPE_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[^;{]+\\<\1\\>[^;{]+\\{" \1
3!define-scanner class_name "BOOST_TT_AUX_BOOL_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[^;{]+\\<\1\\>[^;{]+\\{" \1
4!define-scanner class_name "BOOST_TT_AUX_SIZE_T_TRAIT_DEF\d\s*\(\s*(\w+)\s*[,)]" "(?:class|struct)[^;{]+\\<\1\\>[^;{]+\\{" \1
5
6!define-scanner class_name "^[[:space:]]*(template[[:space:]]*<[^;:{]+>[[:space:]]*)?(class|struct)[[:space:]]*(\<\w+\>([[:blank:]]*\([^)]*\))?[[:space:]]*)*(\<\w*\>)[[:space:]]*(<[^;:{]+>)?[[:space:]]*(\{|:[^;\{()]*\{)" "(?:class|struct)[^;{]+\\<\5\\>[^;{]+\\{" \5
7!define-scanner typedef_name "typedef[^;{}#]+?(\w+)\s*;"  "typedef[^;]+\\<\1\\>\\s*;" "\1"
8!define-scanner "macro_name" "^\s*#\s*define\s+(\w+)" "\\<\1\\>" "\1"
9!define-scanner "function_name" "\w+\s+(\w+)\s*\([^\)]*\)\s*[;{]" "\\<\\w+\\>\\s+\\<\1\\>\\s*\\([^;{]*\\)\\s*[;{]" "\1"
10
11!scan-path boost/type_traits .*\.hpp true
12!scan boost/aligned_storage.hpp
13!scan boost/type_traits.hpp
14
15!exclude type arg1_type arg2_type arg3_type arg4_type arg5_type B D
16!exclude result
17
18!rewrite-name "(?:A|An|The)\s+(.*)" "\1"
19
20"Constrained Index Term" add_const "boost_typetraits\.reference.*" class_name
21"This term should not appear anywhere because of the ID constraint" strlen "(?!boost_typetraits.background).*" function_name
22
23
24type-traits "" ".*.intro" test_index_1
25type-traits "" ".*.background" test_index_2
26
27