.happydoc.functioninfo.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.functioninfo.py
(S'e395424687ecb7f1cf623c3be0b57194'
p1
(ihappydoclib.parseinfo.moduleinfo
ModuleInfo
p2
(dp3
S'_namespaces'
p4
((dp5
S'FunctionInfo'
p6
(ihappydoclib.parseinfo.classinfo
ClassInfo
p7
(dp8
g4
((dp9
(dp10
S'_reconstructValueFromAtom'
p11
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p12
(dp13
g4
((dp14
(dp15
tp16
sS'_exception_info'
p17
(dp18
sS'_parameter_names'
p19
(S'self'
p20
S'atom'
p21
S'trailer'
p22
tp23
sS'_parameter_info'
p24
(dp25
g20
(NNNtp26
sg22
(I1
S'[]'
Ntp27
sg21
(NNNtp28
ssS'_filename'
p29
S'../HappyDoc3-r3_1/happydoclib/parseinfo/functioninfo.py'
p30
sS'_docstring'
p31
S'Convert an atom portion of a parse tree into the value.\n\n        If the atom represents a string, number or name\n        '
p32
sS'_name'
p33
g11
sS'_parent'
p34
g7
sS'_comment_info'
p35
(dp36
(S'SuiteFuncInfo'
tp37
S'  Mixin class providing access to function names and info.\n'
p38
ssS'_configuration_values'
p39
(dp40
sS'_class_info'
p41
g14
sS'_function_info'
p42
g15
sS'_comments'
p43
S''
sbsS'_extractFunctionParameters'
p44
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p45
(dp46
g4
((dp47
(dp48
tp49
sg17
(dp50
S"'Unrecognized parse result %s in %s' %( parameters [ 1 ], parameters )"
p51
NsS"'Unrecognized parse result %s in %s' %( parameters [ 2 ], parameters )"
p52
Nssg19
(S'self'
p53
S'tree'
p54
tp55
sg24
(dp56
g53
(NNNtp57
sg54
(NNNtp58
ssg29
g30
sg31
S"Extract information about a function's parameters."
p59
sg33
g44
sg34
g7
sg35
g36
sg39
(dp60
sg41
g47
sg42
g48
sg43
S''
sbsS'getParameterNames'
p61
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p62
(dp63
g4
((dp64
(dp65
tp66
sg17
(dp67
sg19
(S'self'
p68
tp69
sg24
(dp70
g68
(NNNtp71
ssg29
g30
sg31
S'Returns a list of the names of all\n        parameters to the function, in order.'
p72
sg33
g61
sg34
g7
sg35
g36
sg39
(dp73
sg41
g64
sg42
g65
sg43
S''
sbsS'getExceptionNames'
p74
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p75
(dp76
g4
((dp77
(dp78
tp79
sg17
(dp80
sg19
(S'self'
p81
tp82
sg24
(dp83
g81
(NNNtp84
ssg29
g30
sg31
S'Return a list of the names of any exceptions raised by the function.'
p85
sg33
g74
sg34
g7
sg35
g36
sg39
(dp86
sg41
g77
sg42
g78
sg43
S''
sbsS'_extractThrownExceptions'
p87
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p88
(dp89
g4
((dp90
(dp91
tp92
sg17
(dp93
sg19
(S'self'
p94
S'tree'
p95
tp96
sg24
(dp97
g94
(NNNtp98
sg95
(NNNtp99
ssg29
g30
sg31
S'Return a dictionary of exception->exception_type values.'
p100
sg33
g87
sg34
g7
sg35
g36
sg39
(dp101
sg41
g90
sg42
g91
sg43
S''
sbsS'getFullyQualifiedName'
p102
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p103
(dp104
g4
((dp105
(dp106
tp107
sg17
(dp108
sg19
(S'self'
p109
tp110
sg24
(dp111
g109
(NNNtp112
ssg29
g30
sg31
S'Return a complete, unique, name representing this object.'
p113
sg33
g102
sg34
g7
sg35
g36
sg39
(dp114
sg41
g105
sg42
g106
sg43
S''
sbsS'getReference'
p115
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p116
(dp117
g4
((dp118
(dp119
tp120
sg17
(dp121
sg19
(S'self'
p122
S'formatter'
p123
S'sourceNode'
p124
tp125
sg24
(dp126
g122
(NNNtp127
sg123
(NNNtp128
sg124
(NNNtp129
ssg29
g30
sg31
S'Return a reference to this function from sourceNode.'
p130
sg33
g115
sg34
g7
sg35
g36
sg39
(dp131
sg41
g118
sg42
g119
sg43
S''
sbsS'_constructParameterInfo'
p132
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p133
(dp134
g4
((dp135
(dp136
tp137
sg17
(dp138
sg19
(S'self'
p139
S'parameterData'
p140
tp141
sg24
(dp142
g140
(NNNtp143
sg139
(NNNtp144
ssg29
g30
sg31
S'Construct storable parameter data from a parameter list.\n        \n        Given the sequence of tuples extracted as a parameter list,\n        store the names (in order) in self._parameter_names and the\n        information about the parameter in self._parameter_info where\n        the keys are the parameter name and the info is a tuple containing:\n\n        (default_specified, default_value, default_value_type)\n\n        Where:\n\n            default_specified -- boolean indicating whether a default value\n                                 was specified\n\n            default_value -- the default value given, if any\n\n            default_value_type -- the type of the default value (token.STRING,\n                                  token.NAME, None). A type of None means\n                                  unknown.\n            \n        '
p145
sg33
g132
sg34
g7
sg35
g36
sg39
(dp146
sg41
g135
sg42
g136
sg43
S''
sbsS'getParameterInfo'
p147
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p148
(dp149
g4
((dp150
(dp151
tp152
sg17
(dp153
sg19
(S'self'
p154
S'paramName'
p155
tp156
sg24
(dp157
g154
(NNNtp158
sg155
(NNNtp159
ssg29
g30
sg31
S'Returns the info record for a parameter.\n\n        The returned tuple consists of:\n\n        (default_specified, default_value, default_value_type)\n\n        Where:\n\n            default_specified -- boolean indicating whether a default value\n                                 was specified\n\n            default_value -- the default value given, if any\n\n            default_value_type -- the type of the default value (token.STRING,\n                                  token.NAME, None). A type of None means\n                                  unknown.\n                                  \n        '
p160
sg33
g147
sg34
g7
sg35
g36
sg39
(dp161
sg41
g150
sg42
g151
sg43
S''
sbsS'__init__'
p162
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p163
(dp164
g4
((dp165
(dp166
tp167
sg17
(dp168
sg19
(S'self'
p169
S'parent'
p170
S'tree'
p171
S'commentInfo'
p172
tp173
sg24
(dp174
g172
(I1
S'{}'
Ntp175
sg169
(NNNtp176
sg171
(I1
S'None'
Ntp177
sg170
(I1
S'None'
Ntp178
ssg29
g30
sg31
S'Initialize the info extractor.\n\n        Parameters:\n\n            parent -- parent object for this object (e.g. Module or Function)\n\n            tree -- parse tree from which to extract information\n\n            commentInfo -- comments extracted from the source file holding\n            this module\n\n        '
p179
sg33
g162
sg34
g7
sg35
g36
sg39
(dp180
sg41
g165
sg42
g166
sg43
S''
sbsS'getExceptionInfo'
p181
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p182
(dp183
g4
((dp184
(dp185
tp186
sg17
(dp187
sg19
(S'self'
p188
S'exceptionName'
p189
tp190
sg24
(dp191
g188
(NNNtp192
sg189
(NNNtp193
ssg29
g30
sg31
S'Returns a type value for an exception.\n\n        The return value will be one of (token.NAME, token.STRING)\n        indicating whether the exception was thrown as a string\n        or a named object.\n        '
p194
sg33
g181
sg34
g7
sg35
g36
sg39
(dp195
sg41
g184
sg42
g185
sg43
S''
sbstp196
sg29
g30
sg31
S'Gather information about a function or method definition.'
p197
sS'_class_member_info'
p198
(lp199
S'EXCEPTION_BY_NAME_PATTERN'
p200
aS'EXCEPTION_STRING_PATTERN'
p201
aS'PARAMETER_DEFAULT_PATTERN'
p202
aS'oldPARAMETER_DEFAULT_PATTERN'
p203
aS'PARAMETER_DEFAULT_WITH_TRAILER_PATTERN'
p204
aS'PARAMETER_ARITH_DEFAULT_WITH_TRAILER_PATTERN'
p205
asg33
g6
sg34
g2
sg35
g36
sS'_base_class_info'
p206
(lp207
S'SuiteInfoBase'
p208
aS'SuiteFuncInfo'
p209
asg39
(dp210
sg41
g9
sg42
g10
sg43
S''
sbsS'SuiteFuncInfo'
p211
(ihappydoclib.parseinfo.classinfo
ClassInfo
p212
(dp213
g4
((dp214
(dp215
S'getFunctionNames'
p216
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p217
(dp218
g4
((dp219
(dp220
tp221
sg17
(dp222
sg19
(S'self'
p223
tp224
sg24
(dp225
g223
(NNNtp226
ssg29
g30
sg31
S''
sg33
g216
sg34
g212
sg35
g36
sg39
(dp227
sg41
g219
sg42
g220
sg43
S''
sbsS'getFunctionInfo'
p228
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p229
(dp230
g4
((dp231
(dp232
tp233
sg17
(dp234
sg19
(S'self'
p235
S'name'
p236
tp237
sg24
(dp238
g235
(NNNtp239
sg236
(NNNtp240
ssg29
g30
sg31
S''
sg33
g228
sg34
g212
sg35
g36
sg39
(dp241
sg41
g231
sg42
g232
sg43
S''
sbstp242
sg29
g30
sg31
S''
sg198
(lp243
sg33
g211
sg34
g2
sg35
g36
sg206
(lp244
sg39
(dp245
sg41
g214
sg42
g215
sg43
g38
sbs(dp246
tp247
sS'_import_info'
p248
(ihappydoclib.parseinfo.imports
ImportInfo
p249
(dp250
S'_named_imports'
p251
(dp252
sS'_straight_imports'
p253
(lp254
sbsg29
g30
sg31
S'"""Gather information about a function or method definition.\n\n"""'
p255
sg33
S'functioninfo'
p256
sg34
Nsg35
g36
sg39
(dp257
S'include_comments'
p258
I1
sS'cacheFilePrefix'
p259
S'.happydoc.'
p260
sS'useCache'
p261
I1
sS'docStringFormat'
p262
S'StructuredText'
p263
ssg41
g5
sg42
g246
sg43
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.