Python.pm
Go to the documentation of this file.
1 # ============================================================================
2 # Copyright (c) 2011-2012 University of Pennsylvania
3 # Copyright (c) 2013-2016 Andreas Schuh
4 # All rights reserved.
5 #
6 # See COPYING file for license information or visit
7 # https://cmake-basis.github.io/download.html#license
8 # ============================================================================
9 
10 ##############################################################################
11 # @file DoxyFilter/Python.pm
12 # @brief Doxygen filter for Python.
13 #
14 # This filter simply converts doc string comments to Doxygen-style
15 # comments in order to allow the use of Doxygen tags within the
16 # doc strings which are otherwise ignored by Doxygen.
17 #
18 # @ingroup BasisTools
19 ##############################################################################
20 
21 package BASIS::DoxyFilter::Python;
22 use base BASIS::DoxyFilter;
23 
24 # ============================================================================
25 # states
26 # ============================================================================
27 
28 use constant {
29  MAIN => 0,
30  FUNCTION => 1,
31  CLASS => 2,
32  METHOD => 3
33 };
34 
35 # ============================================================================
36 # transitions
37 # ============================================================================
38 
39 use constant TRANSITIONS => [
40 ];
41 
42 # ============================================================================
43 # public
44 # ============================================================================
45 
46 # ----------------------------------------------------------------------------
47 ## @brief Constructs a Python Doxygen filter.
48 sub new
49 {
50  shift->SUPER::new(MAIN, TRANSITIONS);
51 }
52 
53 
54 1;