• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright 2011 John Maddock. Distributed under the Boost
2#  Software License, Version 1.0. (See accompanying file
3#  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4#
5# Rewrite the class scanner to accept declarations, not just definitions,
6# as the docs don't include full definitions.
7#
8!define-scanner class_name "^[[:space:]]*(template[[:space:]]*<[^;:{]+>[[:space:]]*)?(class|struct)[[:space:]]*(\<\w+\>([[:blank:]]*\([^)]*\))?[[:space:]]*)*(\<\w*\>)[[:space:]]*(<[^;:{]+>)?[[:space:]]*(\{|:[^;\{()]*\{)" "(?:class|struct)[^;{]+\\<\5\\>\\s*[;{]" \5
9
10!scan-path boost/multiprecision .*\.hpp true
11
12
13
14
15
16
17
18
19