Synopsis - Synopsis/Formatters/HTML/Fragments/Default.py

File: Synopsis/Formatters/HTML/Fragments/Default.py

     1#
     2# Copyright (C) 2000 Stephen Davies
     3# Copyright (C) 2000 Stefan Seefeld
     4# All rights reserved.
     5# Licensed to the public under the terms of the GNU LGPL (>= 2),
     6# see the file COPYING for details.
     7#
     8
     9from Synopsis.Formatters.HTML.Fragment import Fragment
    10
    11class Default(Fragment):
    12   """A base ASG strategy that calls format_declaration for all types"""
    13
    14   # All these use the same method:
    15   def format_macro(self, decl): return self.format_declaration(decl)
    16   def format_forward(self, decl): return self.format_declaration(decl)
    17   def format_group(self, decl): return self.format_declaration(decl)
    18   def format_scope(self, decl): return self.format_declaration(decl)
    19   def format_module(self, decl): return self.format_declaration(decl)
    20   def format_meta_module(self, decl): return self.format_declaration(decl)
    21   def format_class(self, decl): return self.format_declaration(decl)
    22   def format_class_template(self, decl): return self.format_declaration(decl)
    23   def format_typedef(self, decl): return self.format_declaration(decl)
    24   def format_enum(self, decl): return self.format_declaration(decl)
    25   def format_variable(self, decl): return self.format_declaration(decl)
    26   def format_const(self, decl): return self.format_declaration(decl)
    27   def format_function(self, decl): return self.format_declaration(decl)
    28   def format_function_template(self, decl): return self.format_declaration(decl)
    29   def format_operation(self, decl): return self.format_declaration(decl)
    30   def format_operation_template(self, decl): return self.format_declaration(decl)
    31

Generated on Thu Apr 16 16:27:13 2009 by
synopsis (version devel)