5 :Contact: goodger@users.sourceforge.net
8 :Copyright: This module has been placed in the public domain.
13 from dps
.nodes
import Element
, TextElement
, Structural
, Component
, Inline
16 # =====================
18 # =====================
20 class package_section(Structural
, Element
): pass
21 class module_section(Structural
, Element
): pass
22 class class_section(Structural
, Element
): pass
23 class method_section(Structural
, Element
): pass
24 class function_section(Structural
, Element
): pass
25 class module_attribute_section(Structural
, Element
): pass
26 class class_attribute_section(Structural
, Element
): pass
27 class instance_attribute_section(Structural
, Element
): pass
29 # Structural Support Elements
30 # ---------------------------
32 class inheritance_list(Component
, Element
): pass
33 class parameter_list(Component
, Element
): pass
34 class parameter_item(Component
, Element
): pass
35 class optional_parameters(Component
, Element
): pass
36 class parameter_tuple(Component
, Element
): pass
37 class parameter_default(Component
, TextElement
): pass
38 class initial_value(Component
, TextElement
): pass
45 class package(Component
, Inline
, TextElement
): pass
46 class module(Component
, Inline
, TextElement
): pass
49 class inline_class(Component
, Inline
, TextElement
):
54 class method(Component
, Inline
, TextElement
): pass
55 class function(Component
, Inline
, TextElement
): pass
56 class variable(Inline
, TextElement
): pass
57 class parameter(Component
, Inline
, TextElement
): pass
58 class type(Inline
, TextElement
): pass
59 class class_attribute(Component
, Inline
, TextElement
): pass
60 class module_attribute(Component
, Inline
, TextElement
): pass
61 class instance_attribute(Component
, Inline
, TextElement
): pass
62 class exception_class(Inline
, TextElement
): pass
63 class warning_class(Inline
, TextElement
): pass
66 class SpecificVisitor(nodes
.SpecificVisitor
):
71 def visit_class_attribute(self
, node
, ancestry
): pass
72 def visit_class_attribute_section(self
, node
, ancestry
): pass
73 def visit_class_section(self
, node
, ancestry
): pass
74 def visit_exception_class(self
, node
, ancestry
): pass
75 def visit_function(self
, node
, ancestry
): pass
76 def visit_function_section(self
, node
, ancestry
): pass
77 def visit_inheritance_list(self
, node
, ancestry
): pass
78 def visit_initial_value(self
, node
, ancestry
): pass
79 def visit_inline_class(self
, node
, ancestry
): pass
80 def visit_instance_attribute(self
, node
, ancestry
): pass
81 def visit_instance_attribute_section(self
, node
, ancestry
): pass
82 def visit_method(self
, node
, ancestry
): pass
83 def visit_method_section(self
, node
, ancestry
): pass
84 def visit_module(self
, node
, ancestry
): pass
85 def visit_module_attribute(self
, node
, ancestry
): pass
86 def visit_module_attribute_section(self
, node
, ancestry
): pass
87 def visit_module_section(self
, node
, ancestry
): pass
88 def visit_optional_parameters(self
, node
, ancestry
): pass
89 def visit_package(self
, node
, ancestry
): pass
90 def visit_package_section(self
, node
, ancestry
): pass
91 def visit_parameter(self
, node
, ancestry
): pass
92 def visit_parameter_default(self
, node
, ancestry
): pass
93 def visit_parameter_item(self
, node
, ancestry
): pass
94 def visit_parameter_list(self
, node
, ancestry
): pass
95 def visit_parameter_tuple(self
, node
, ancestry
): pass
96 def visit_type(self
, node
, ancestry
): pass
97 def visit_variable(self
, node
, ancestry
): pass
98 def visit_warning_class(self
, node
, ancestry
): pass