DocumentationTools/ModuleDocumentor.py

changeset 4830
f609a22f43bd
parent 4667
77050ebbdb20
child 5389
9b1c800daff3
equal deleted inserted replaced
4829:35fe0232fb8f 4830:f609a22f43bd
18 18
19 from Utilities import html_uencode 19 from Utilities import html_uencode
20 from Utilities.ModuleParser import RB_SOURCE, Function 20 from Utilities.ModuleParser import RB_SOURCE, Function
21 21
22 _signal = re.compile( 22 _signal = re.compile(
23 r""" 23 r"""
24 ^@signal [ \t]+ 24 ^@signal [ \t]+
25 (?P<SignalName1> 25 (?P<SignalName1>
26 [a-zA-Z_] \w* [ \t]* \( [^)]* \) 26 [a-zA-Z_] \w* [ \t]* \( [^)]* \)
27 ) 27 )
28 [ \t]* (?P<SignalDescription1> .*) 28 [ \t]* (?P<SignalDescription1> .*)
33 ) 33 )
34 [ \t]+ (?P<SignalDescription2> .*) 34 [ \t]+ (?P<SignalDescription2> .*)
35 """, re.VERBOSE | re.DOTALL | re.MULTILINE).search 35 """, re.VERBOSE | re.DOTALL | re.MULTILINE).search
36 36
37 _event = re.compile( 37 _event = re.compile(
38 r""" 38 r"""
39 ^@event [ \t]+ 39 ^@event [ \t]+
40 (?P<EventName1> 40 (?P<EventName1>
41 [a-zA-Z_] \w* [ \t]* \( [^)]* \) 41 [a-zA-Z_] \w* [ \t]* \( [^)]* \)
42 ) 42 )
43 [ \t]* (?P<EventDescription1> .*) 43 [ \t]* (?P<EventDescription1> .*)

eric ide

mercurial