pygccxml.declarations.decl_visitor

Package pygccxml :: Package declarations :: Module decl_visitor |

# Source Code for Module pygccxml.declarations.decl_visitor

     1  # Copyright 2004-2008 Roman Yakovenko.
     2  # Distributed under the Boost Software License, Version 1.0. (See
     3  # accompanying file LICENSE_1_0.txt or copy at
     4  # http://www.boost.org/LICENSE_1_0.txt)
     5
     6  """
     7  defines declarations visitor class interface
     8  """
     9
    10 -class decl_visitor_t(object):
    11      """
    12      declarations visitor interface
    13
    14      All functions within this class should be redefined in derived classes.
    15      """
    16 -    def __init__(self):
    17          object.__init__(self)
    18
    19 -    def visit_member_function( self ):
    20          raise NotImplementedError()
    21
    22 -    def visit_constructor( self ):
    23          raise NotImplementedError()
    24
    25 -    def visit_destructor( self ):
    26          raise NotImplementedError()
    27
    28 -    def visit_member_operator( self ):
    29          raise NotImplementedError()
    30
    31 -    def visit_casting_operator( self ):
    32          raise NotImplementedError()
    33
    34 -    def visit_free_function( self ):
    35          raise NotImplementedError()
    36
    37 -    def visit_free_operator( self ):
    38          raise NotImplementedError()
    39
    40 -    def visit_class_declaration(self ):
    41          raise NotImplementedError()
    42
    43 -    def visit_class(self ):
    44          raise NotImplementedError()
    45
    46 -    def visit_enumeration(self ):
    47          raise NotImplementedError()
    48
    49 -    def visit_namespace(self ):
    50          raise NotImplementedError()
    51
    52 -    def visit_typedef(self ):
    53          raise NotImplementedError()
    54
    55 -    def visit_variable(self ):
    56          raise NotImplementedError()
    57