.happydoc.parsecomments.py :  » Development » HappyDoc » HappyDoc3-r3_1 » happydoclib » parseinfo » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Development » HappyDoc 
HappyDoc » HappyDoc3 r3_1 » happydoclib » parseinfo » .happydoc.parsecomments.py
(S'd1a86090fd367e6084d082863e3df18c'
p1
(ihappydoclib.parseinfo.moduleinfo
ModuleInfo
p2
(dp3
S'_namespaces'
p4
((dp5
S'ParseStack'
p6
(ihappydoclib.parseinfo.classinfo
ClassInfo
p7
(dp8
g4
((dp9
(dp10
S'__str__'
p11
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p12
(dp13
g4
((dp14
(dp15
tp16
sS'_exception_info'
p17
(dp18
sS'_parameter_names'
p19
(S'self'
p20
tp21
sS'_parameter_info'
p22
(dp23
g20
(NNNtp24
ssS'_filename'
p25
S'../HappyDoc3-r3_1/happydoclib/parseinfo/parsecomments.py'
p26
sS'_docstring'
p27
S'Create a string representation.'
p28
sS'_name'
p29
g11
sS'_parent'
p30
g7
sS'_comment_info'
p31
(dp32
sS'_configuration_values'
p33
(dp34
sS'_class_info'
p35
g14
sS'_function_info'
p36
g15
sS'_comments'
p37
S''
sbsS'pop'
p38
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p39
(dp40
g4
((dp41
(dp42
tp43
sg17
(dp44
sg19
(S'self'
p45
tp46
sg22
(dp47
g45
(NNNtp48
ssg25
g26
sg27
S'Remove the top of the stack and return it.'
p49
sg29
g38
sg30
g7
sg31
g32
sg33
(dp50
sg35
g41
sg36
g42
sg37
S''
sbsS'__names'
p51
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p52
(dp53
g4
((dp54
(dp55
tp56
sg17
(dp57
sg19
(S'self'
p58
tp59
sg22
(dp60
g58
(NNNtp61
ssg25
g26
sg27
S'Return a list of the names as they appear on the stack, bottom first.'
p62
sg29
g51
sg30
g7
sg31
g32
sg33
(dp63
sg35
g54
sg36
g55
sg37
S''
sbsS'key'
p64
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p65
(dp66
g4
((dp67
(dp68
tp69
sg17
(dp70
sg19
(S'self'
p71
tp72
sg22
(dp73
g71
(NNNtp74
ssg25
g26
sg27
S'Return a value to be used as a dictionary key.'
p75
sg29
g64
sg30
g7
sg31
g32
sg33
(dp76
sg35
g67
sg36
g68
sg37
S''
sbsS'push'
p77
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p78
(dp79
g4
((dp80
(dp81
tp82
sg17
(dp83
sg19
(S'self'
p84
S'name'
p85
S'indent'
p86
tp87
sg22
(dp88
g84
(NNNtp89
sg86
(NNNtp90
sg85
(NNNtp91
ssg25
g26
sg27
S"Push a new 'name' onto the stack.\n\n        Smartly determine, based on 'indent', whether to 'pop' other\n        'names' before pushing this one.\n        "
p92
sg29
g77
sg30
g7
sg31
g32
sg33
(dp93
sg35
g80
sg36
g81
sg37
S''
sbsS'__init__'
p94
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p95
(dp96
g4
((dp97
(dp98
tp99
sg17
(dp100
sg19
(S'self'
p101
tp102
sg22
(dp103
g101
(NNNtp104
ssg25
g26
sg27
S'Create a ParseStack.'
p105
sg29
g94
sg30
g7
sg31
g32
sg33
(dp106
sg35
g97
sg36
g98
sg37
S''
sbstp107
sg25
g26
sg27
S"Helper class for 'extractComments' function in this module."
p108
sS'_class_member_info'
p109
(lp110
sg29
g6
sg30
g2
sg31
g32
sS'_base_class_info'
p111
(lp112
sg33
(dp113
sg35
g9
sg36
g10
sg37
S''
sbsS'ParseCommentsTest'
p114
(ihappydoclib.parseinfo.classinfo
ClassInfo
p115
(dp116
g4
((dp117
(dp118
S'testDecoratedComments'
p119
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p120
(dp121
g4
((dp122
(dp123
tp124
sg17
(dp125
sg19
(S'self'
p126
tp127
sg22
(dp128
g126
(NNNtp129
ssg25
g26
sg27
S''
sg29
g119
sg30
g115
sg31
g32
sg33
(dp130
sg35
g122
sg36
g123
sg37
S''
sbsS'testComments'
p131
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p132
(dp133
g4
((dp134
(dp135
tp136
sg17
(dp137
sg19
(S'self'
p138
tp139
sg22
(dp140
g138
(NNNtp141
ssg25
g26
sg27
S''
sg29
g131
sg30
g115
sg31
g32
sg33
(dp142
sg35
g134
sg36
g135
sg37
S''
sbstp143
sg25
g26
sg27
S''
sg109
(lp144
sg29
g114
sg30
g2
sg31
g32
sg111
(lp145
S'unittest.TestCase'
p146
asg33
(dp147
sg35
g117
sg36
g118
sg37
S''
sbs(dp148
S'extractComments'
p149
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p150
(dp151
g4
((dp152
(dp153
tp154
sg17
(dp155
sg19
(S'text'
p156
S'extractRe'
p157
S'ignoreRe'
p158
tp159
sg22
(dp160
g156
(NNNtp161
sg157
(I1
S"re.compile( '^((?P<blankline>\\s*$)|(?P<namedobj>(?P<indent>\\s*)(?P<nametype>(class|def))\\s+(?P<name>[0-9A-Za-z_]+))|(?P<commentline>\\s*#+(?P<comment>.*)))' ).search"
Ntp162
sg158
(I1
S"re.compile( '\\s*[+-=#][ +-=#]*\\s*$' ).match"
Ntp163
ssg25
g26
sg27
S'Given a block of Python source, extract the comments.\n\n    The comment text is associated with nearby named objects\n    (functions, methods, classes, etc.).  This function returns\n    a dictionary of names and the associated comment text.\n\n    Arguments\n\n      text -- The Python source to be scanned.\n\n    '
p164
sg29
g149
sg30
g2
sg31
g32
sg33
(dp165
sg35
g152
sg36
g153
sg37
S''
sbstp166
sS'_import_info'
p167
(ihappydoclib.parseinfo.imports
ImportInfo
p168
(dp169
S'_named_imports'
p170
(dp171
sS'_straight_imports'
p172
(lp173
sbsg25
g26
sg27
S'"""Parse comment information from a module.\n\n"""'
p174
sg29
S'parsecomments'
p175
sg30
Nsg31
g32
sg33
(dp176
S'include_comments'
p177
I1
sS'cacheFilePrefix'
p178
S'.happydoc.'
p179
sS'useCache'
p180
I1
sS'docStringFormat'
p181
S'StructuredText'
p182
ssg35
g5
sg36
g148
sg37
S''
sbt.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.