.happydoc.utils.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.utils.py
(S'e0c1269fc04fced8b83e84166398982f'
p1
(ihappydoclib.parseinfo.moduleinfo
ModuleInfo
p2
(dp3
S'_namespaces'
p4
((dp5
(dp6
S'findNode'
p7
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p8
(dp9
g4
((dp10
(dp11
tp12
sS'_exception_info'
p13
(dp14
sS'_parameter_names'
p15
(S'tree'
p16
S'node'
p17
S'response'
p18
tp19
sS'_parameter_info'
p20
(dp21
g17
(NNNtp22
sg16
(NNNtp23
sg18
(I1
S'None'
Ntp24
ssS'_filename'
p25
S'../HappyDoc3-r3_1/happydoclib/parseinfo/utils.py'
p26
sS'_docstring'
p27
S"Return a sequence of subtrees starting with node value of 'node'."
p28
sS'_name'
p29
g7
sS'_parent'
p30
g2
sS'_comment_info'
p31
(dp32
sS'_configuration_values'
p33
(dp34
sS'_class_info'
p35
g10
sS'_function_info'
p36
g11
sS'_comments'
p37
S''
sbsS'parseTreeToString'
p38
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p39
(dp40
g4
((dp41
(dp42
tp43
sg13
(dp44
sg15
(S'tree'
p45
S'separator'
p46
tp47
sg20
(dp48
g46
(I1
S"' '"
Ntp49
sg45
(NNNtp50
ssg25
g26
sg27
S'Convert a parse tree to a string which would have parsed in that way.\n\n    Given a parse tree, walk it to determine the original string\n    which would have been parsed to produce that tree.\n    '
p51
sg29
g38
sg30
g2
sg31
g32
sg33
(dp52
sg35
g41
sg36
g42
sg37
S''
sbsS'drill'
p53
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p54
(dp55
g4
((dp56
(dp57
tp58
sg13
(dp59
sg15
(S'tree'
p60
S'depth'
p61
tp62
sg20
(dp63
g61
(NNNtp64
sg60
(NNNtp65
ssg25
g26
sg27
S"Return the section of the parse 'tree' that is 'depth' nodes deep."
p66
sg29
g53
sg30
g2
sg31
g32
sg33
(dp67
sg35
g56
sg36
g57
sg37
S''
sbsS'lenientMatch'
p68
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p69
(dp70
g4
((dp71
(dp72
tp73
sg13
(dp74
sg15
(S'pattern'
p75
S'data'
p76
S'vars'
p77
S'dbg'
p78
tp79
sg20
(dp80
g75
(NNNtp81
sg76
(NNNtp82
sg78
(I1
S'0'
Ntp83
sg77
(I1
S'None'
Ntp84
ssg25
g26
sg27
S"Match `data' to `pattern', with variable extraction.\n\n    pattern --\n        Pattern to match against, possibly containing variables.\n\n    data --\n        Data to be checked and against which variables are extracted.\n\n    vars --\n        Dictionary of variables which have already been found.  If not\n        provided, an empty dictionary is created.\n\n    The `pattern' value may contain variables of the form ['varname'] which\n    are allowed to match anything.  The value that is matched is returned as\n    part of a dictionary which maps 'varname' to the matched value.  'varname'\n    is not required to be a string object, but using strings makes patterns\n    and the code which uses them more readable.\n\n    This function is based on the match() function, but is more lenient.\n    The pattern does not have to completely describe the tree.  Instead,\n    it can be the 'top' portion of the tree.  Everything must match down\n    to the leaves of the pattern.  At that point, the matching stops.  If\n    a match was found at all, the return values indicate a match.\n    \n    This function returns two values: a boolean indicating whether a match\n    was found and a dictionary mapping variable names to their associated\n    values.\n    "
p85
sg29
g68
sg30
g2
sg31
g32
sg33
(dp86
sg35
g71
sg36
g72
sg37
S''
sbsS'joinCodeSnippets'
p87
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p88
(dp89
g4
((dp90
(dp91
tp92
sg13
(dp93
sg15
(S'first'
p94
S'second'
p95
S'separator'
p96
tp97
sg20
(dp98
g95
(NNNtp99
sg96
(NNNtp100
sg94
(NNNtp101
ssg25
g26
sg27
S'Join two code snippets into one string.\n\n    Use some general code content rules to try to make the\n    resulting snippet look nice.\n    '
p102
sg29
g87
sg30
g2
sg31
g32
sg33
(dp103
sg35
g90
sg36
g91
sg37
S''
sbsS'match'
p104
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p105
(dp106
g4
((dp107
(dp108
tp109
sg13
(dp110
sg15
(S'pattern'
p111
S'data'
p112
S'vars'
p113
S'dbg'
p114
tp115
sg20
(dp116
g111
(NNNtp117
sg112
(NNNtp118
sg114
(I1
S'0'
Ntp119
sg113
(I1
S'None'
Ntp120
ssg25
g26
sg27
S"Match `data' to `pattern', with variable extraction.\n\n    pattern --\n        Pattern to match against, possibly containing variables.\n\n    data --\n        Data to be checked and against which variables are extracted.\n\n    vars --\n        Dictionary of variables which have already been found.  If not\n        provided, an empty dictionary is created.\n\n    The `pattern' value may contain variables of the form ['varname'] which\n    are allowed to match anything.  The value that is matched is returned as\n    part of a dictionary which maps 'varname' to the matched value.  'varname'\n    is not required to be a string object, but using strings makes patterns\n    and the code which uses them more readable.\n\n    This function returns two values: a boolean indicating whether a match\n    was found and a dictionary mapping variable names to their associated\n    values.\n    "
p121
sg29
g104
sg30
g2
sg31
g32
sg33
(dp122
sg35
g107
sg36
g108
sg37
S''
sbstp123
sS'_import_info'
p124
(ihappydoclib.parseinfo.imports
ImportInfo
p125
(dp126
S'_named_imports'
p127
(dp128
sS'_straight_imports'
p129
(lp130
sbsg25
g26
sg27
S'"""Utility functions for parseinfo package.\n\n"""'
p131
sg29
S'utils'
p132
sg30
Nsg31
g32
sg33
(dp133
S'include_comments'
p134
I1
sS'cacheFilePrefix'
p135
S'.happydoc.'
p136
sS'useCache'
p137
I1
sS'docStringFormat'
p138
S'StructuredText'
p139
ssg35
g5
sg36
g6
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.