.happydoc.HTMLParser.py :  » Development » HappyDoc » HappyDoc3-r3_1 » happydoclib » docset » docset_TAL » TAL » 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 » docset » docset_TAL » TAL » .happydoc.HTMLParser.py
(S'8e3a79da48291dbb7f0c6a78e776116e'
p1
(ihappydoclib.parseinfo.moduleinfo
ModuleInfo
p2
(dp3
S'_namespaces'
p4
((dp5
S'HTMLParseError'
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/docset/docset_TAL/TAL/HTMLParser.py'
p26
sS'_docstring'
p27
S''
sS'_name'
p28
g11
sS'_parent'
p29
g7
sS'_comment_info'
p30
(dp31
(S'HTMLParser'
p32
S'parse_endtag'
tp33
S' Internal -- parse endtag, return end or -1 if incomplete\n'
p34
s(g32
S'handle_starttag'
tp35
S' Overridable -- handle start tag\n'
p36
s(g32
S'handle_data'
tp37
S' Overridable -- handle data\n'
p38
s(g32
S'handle_decl'
tp39
S' Overridable -- handle declaration\n'
p40
s(g32
S'handle_charref'
tp41
S' Overridable -- handle character reference\n'
p42
s(g32
S'check_for_whole_start_tag'
tp43
S' Internal -- check to see if we have a complete starttag; return end\n or -1 if incomplete.\n'
p44
s(g32
S'parse_starttag'
tp45
S' Internal -- handle starttag, return end or -1 if not terminated\n'
p46
s(g32
S'goahead'
tp47
S" Internal -- handle data as far as reasonable.  May leave state\n and data to be processed by a subsequent call.  If 'end' is\n true, force handling all data as if followed by EOF marker.\n"
p48
s(g32
S'parse_comment'
tp49
S' Internal -- parse comment, return end or -1 if not terminated\n'
p50
s(g32
S'handle_pi'
tp51
S' Overridable -- handle processing instruction\n'
p52
s(g32
S'handle_entityref'
tp53
S' Overridable -- handle entity reference\n'
p54
s(g32
S'handle_startendtag'
tp55
S' Overridable -- finish processing of start+end tag: <tag.../>\n'
p56
s(g32
S'handle_endtag'
tp57
S' Overridable -- handle end tag\n'
p58
s(g32
S'handle_comment'
tp59
S' Overridable -- handle comment\n'
p60
s(g32
S'unescape'
tp61
S' Internal -- helper to remove special character quoting\n'
p62
s(g32
S'parse_pi'
tp63
S' Internal -- parse processing instr, return end or -1 if not terminated\n'
p64
ssS'_configuration_values'
p65
(dp66
sS'_class_info'
p67
g14
sS'_function_info'
p68
g15
sS'_comments'
p69
S''
sbsS'__init__'
p70
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p71
(dp72
g4
((dp73
(dp74
tp75
sg17
(dp76
sg19
(S'self'
p77
S'msg'
p78
S'position'
p79
tp80
sg22
(dp81
g78
(NNNtp82
sg79
(I1
S'( None, None )'
Ntp83
sg77
(NNNtp84
ssg25
g26
sg27
S''
sg28
g70
sg29
g7
sg30
g31
sg65
(dp85
sg67
g73
sg68
g74
sg69
S''
sbstp86
sg25
g26
sg27
S'Exception raised for all parse errors.'
p87
sS'_class_member_info'
p88
(lp89
sg28
g6
sg29
g2
sg30
g31
sS'_base_class_info'
p90
(lp91
S'Exception'
p92
asg65
(dp93
sg67
g9
sg68
g10
sg69
S''
sbsS'HTMLParser'
p94
(ihappydoclib.parseinfo.classinfo
ClassInfo
p95
(dp96
g4
((dp97
(dp98
S'feed'
p99
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p100
(dp101
g4
((dp102
(dp103
tp104
sg17
(dp105
sg19
(S'self'
p106
S'data'
p107
tp108
sg22
(dp109
g106
(NNNtp110
sg107
(NNNtp111
ssg25
g26
sg27
S"Feed data to the parser.\n\n        Call this as often as you want, with as little or as much text\n        as you want (may include '\n').\n        "
p112
sg28
g99
sg29
g95
sg30
g31
sg65
(dp113
sg67
g102
sg68
g103
sg69
S''
sbsS'handle_startendtag'
p114
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p115
(dp116
g4
((dp117
(dp118
tp119
sg17
(dp120
sg19
(S'self'
p121
S'tag'
p122
S'attrs'
p123
tp124
sg22
(dp125
g121
(NNNtp126
sg122
(NNNtp127
sg123
(NNNtp128
ssg25
g26
sg27
S''
sg28
g114
sg29
g95
sg30
g31
sg65
(dp129
sg67
g117
sg68
g118
sg69
g56
sbsS'handle_entityref'
p130
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p131
(dp132
g4
((dp133
(dp134
tp135
sg17
(dp136
sg19
(S'self'
p137
S'name'
p138
tp139
sg22
(dp140
g137
(NNNtp141
sg138
(NNNtp142
ssg25
g26
sg27
S''
sg28
g130
sg29
g95
sg30
g31
sg65
(dp143
sg67
g133
sg68
g134
sg69
g54
sbsS'close'
p144
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p145
(dp146
g4
((dp147
(dp148
tp149
sg17
(dp150
sg19
(S'self'
p151
tp152
sg22
(dp153
g151
(NNNtp154
ssg25
g26
sg27
S'Handle any buffered data.'
p155
sg28
g144
sg29
g95
sg30
g31
sg65
(dp156
sg67
g147
sg68
g148
sg69
S''
sbsS'handle_comment'
p157
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p158
(dp159
g4
((dp160
(dp161
tp162
sg17
(dp163
sg19
(S'self'
p164
S'data'
p165
tp166
sg22
(dp167
g164
(NNNtp168
sg165
(NNNtp169
ssg25
g26
sg27
S''
sg28
g157
sg29
g95
sg30
g31
sg65
(dp170
sg67
g160
sg68
g161
sg69
g60
sbsS'handle_starttag'
p171
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p172
(dp173
g4
((dp174
(dp175
tp176
sg17
(dp177
sg19
(S'self'
p178
S'tag'
p179
S'attrs'
p180
tp181
sg22
(dp182
g178
(NNNtp183
sg179
(NNNtp184
sg180
(NNNtp185
ssg25
g26
sg27
S''
sg28
g171
sg29
g95
sg30
g31
sg65
(dp186
sg67
g174
sg68
g175
sg69
g36
sbsS'goahead'
p187
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p188
(dp189
g4
((dp190
(dp191
tp192
sg17
(dp193
sg19
(S'self'
p194
S'end'
p195
tp196
sg22
(dp197
g194
(NNNtp198
sg195
(NNNtp199
ssg25
g26
sg27
S''
sg28
g187
sg29
g95
sg30
g31
sg65
(dp200
sg67
g190
sg68
g191
sg69
g48
sbsS'set_cdata_mode'
p201
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p202
(dp203
g4
((dp204
(dp205
tp206
sg17
(dp207
sg19
(S'self'
p208
S'endtag'
p209
tp210
sg22
(dp211
g208
(NNNtp212
sg209
(I1
S'None'
Ntp213
ssg25
g26
sg27
S''
sg28
g201
sg29
g95
sg30
g31
sg65
(dp214
sg67
g204
sg68
g205
sg69
S''
sbsS'parse_comment'
p215
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p216
(dp217
g4
((dp218
(dp219
tp220
sg17
(dp221
sg19
(S'self'
p222
S'i'
S'report'
p223
tp224
sg22
(dp225
S'i'
(NNNtp226
sg223
(I1
S'1'
Ntp227
sg222
(NNNtp228
ssg25
g26
sg27
S''
sg28
g215
sg29
g95
sg30
g31
sg65
(dp229
sg67
g218
sg68
g219
sg69
g50
sbsS'get_starttag_text'
p230
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p231
(dp232
g4
((dp233
(dp234
tp235
sg17
(dp236
sg19
(S'self'
p237
tp238
sg22
(dp239
g237
(NNNtp240
ssg25
g26
sg27
S"Return full source of start tag: '<...>'."
p241
sg28
g230
sg29
g95
sg30
g31
sg65
(dp242
sg67
g233
sg68
g234
sg69
S''
sbsS'__init__'
p243
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p244
(dp245
g4
((dp246
(dp247
tp248
sg17
(dp249
sg19
(S'self'
p250
tp251
sg22
(dp252
g250
(NNNtp253
ssg25
g26
sg27
S'Initialize and reset this instance.'
p254
sg28
g243
sg29
g95
sg30
g31
sg65
(dp255
sg67
g246
sg68
g247
sg69
S''
sbsS'handle_decl'
p256
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p257
(dp258
g4
((dp259
(dp260
tp261
sg17
(dp262
sg19
(S'self'
p263
S'decl'
p264
tp265
sg22
(dp266
g264
(NNNtp267
sg263
(NNNtp268
ssg25
g26
sg27
S''
sg28
g256
sg29
g95
sg30
g31
sg65
(dp269
sg67
g259
sg68
g260
sg69
g40
sbsS'clear_cdata_mode'
p270
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p271
(dp272
g4
((dp273
(dp274
tp275
sg17
(dp276
sg19
(S'self'
p277
tp278
sg22
(dp279
g277
(NNNtp280
ssg25
g26
sg27
S''
sg28
g270
sg29
g95
sg30
g31
sg65
(dp281
sg67
g273
sg68
g274
sg69
S''
sbsS'check_for_whole_start_tag'
p282
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p283
(dp284
g4
((dp285
(dp286
tp287
sg17
(dp288
S'AssertionError( "we should not get here!" )'
p289
Nssg19
(S'self'
p290
S'i'
tp291
sg22
(dp292
S'i'
(NNNtp293
sg290
(NNNtp294
ssg25
g26
sg27
S''
sg28
g282
sg29
g95
sg30
g31
sg65
(dp295
sg67
g285
sg68
g286
sg69
g44
sbsS'parse_starttag'
p296
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p297
(dp298
g4
((dp299
(dp300
tp301
sg17
(dp302
sg19
(S'self'
p303
S'i'
tp304
sg22
(dp305
S'i'
(NNNtp306
sg303
(NNNtp307
ssg25
g26
sg27
S''
sg28
g296
sg29
g95
sg30
g31
sg65
(dp308
sg67
g299
sg68
g300
sg69
g46
sbsS'handle_endtag'
p309
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p310
(dp311
g4
((dp312
(dp313
tp314
sg17
(dp315
sg19
(S'self'
p316
S'tag'
p317
tp318
sg22
(dp319
g316
(NNNtp320
sg317
(NNNtp321
ssg25
g26
sg27
S''
sg28
g309
sg29
g95
sg30
g31
sg65
(dp322
sg67
g312
sg68
g313
sg69
g58
sbsS'handle_charref'
p323
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p324
(dp325
g4
((dp326
(dp327
tp328
sg17
(dp329
sg19
(S'self'
p330
S'name'
p331
tp332
sg22
(dp333
g330
(NNNtp334
sg331
(NNNtp335
ssg25
g26
sg27
S''
sg28
g323
sg29
g95
sg30
g31
sg65
(dp336
sg67
g326
sg68
g327
sg69
g42
sbsS'parse_pi'
p337
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p338
(dp339
g4
((dp340
(dp341
tp342
sg17
(dp343
sg19
(S'self'
p344
S'i'
tp345
sg22
(dp346
S'i'
(NNNtp347
sg344
(NNNtp348
ssg25
g26
sg27
S''
sg28
g337
sg29
g95
sg30
g31
sg65
(dp349
sg67
g340
sg68
g341
sg69
g64
sbsS'unknown_decl'
p350
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p351
(dp352
g4
((dp353
(dp354
tp355
sg17
(dp356
sg19
(S'self'
p357
S'data'
p358
tp359
sg22
(dp360
g357
(NNNtp361
sg358
(NNNtp362
ssg25
g26
sg27
S''
sg28
g350
sg29
g95
sg30
g31
sg65
(dp363
sg67
g353
sg68
g354
sg69
S''
sbsS'reset'
p364
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p365
(dp366
g4
((dp367
(dp368
tp369
sg17
(dp370
sg19
(S'self'
p371
tp372
sg22
(dp373
g371
(NNNtp374
ssg25
g26
sg27
S'Reset this instance.  Loses all unprocessed data.'
p375
sg28
g364
sg29
g95
sg30
g31
sg65
(dp376
sg67
g367
sg68
g368
sg69
S''
sbsS'unescape'
p377
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p378
(dp379
g4
((dp380
(dp381
tp382
sg17
(dp383
sg19
(S'self'
p384
S's'
tp385
sg22
(dp386
g384
(NNNtp387
sS's'
(NNNtp388
ssg25
g26
sg27
S''
sg28
g377
sg29
g95
sg30
g31
sg65
(dp389
sg67
g380
sg68
g381
sg69
g62
sbsS'handle_pi'
p390
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p391
(dp392
g4
((dp393
(dp394
tp395
sg17
(dp396
sg19
(S'self'
p397
S'data'
p398
tp399
sg22
(dp400
g397
(NNNtp401
sg398
(NNNtp402
ssg25
g26
sg27
S''
sg28
g390
sg29
g95
sg30
g31
sg65
(dp403
sg67
g393
sg68
g394
sg69
g52
sbsS'parse_endtag'
p404
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p405
(dp406
g4
((dp407
(dp408
tp409
sg17
(dp410
sg19
(S'self'
p411
S'i'
tp412
sg22
(dp413
S'i'
(NNNtp414
sg411
(NNNtp415
ssg25
g26
sg27
S''
sg28
g404
sg29
g95
sg30
g31
sg65
(dp416
sg67
g407
sg68
g408
sg69
g34
sbsS'error'
p417
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p418
(dp419
g4
((dp420
(dp421
tp422
sg17
(dp423
S'HTMLParseError(message, self.getpos() )'
p424
Nssg19
(S'self'
p425
S'message'
p426
tp427
sg22
(dp428
g425
(NNNtp429
sg426
(NNNtp430
ssg25
g26
sg27
S''
sg28
g417
sg29
g95
sg30
g31
sg65
(dp431
sg67
g420
sg68
g421
sg69
S''
sbsS'handle_data'
p432
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p433
(dp434
g4
((dp435
(dp436
tp437
sg17
(dp438
sg19
(S'self'
p439
S'data'
p440
tp441
sg22
(dp442
g439
(NNNtp443
sg440
(NNNtp444
ssg25
g26
sg27
S''
sg28
g432
sg29
g95
sg30
g31
sg65
(dp445
sg67
g435
sg68
g436
sg69
g38
sbstp446
sg25
g26
sg27
S'Find tags and other markup and call handler functions.\n\n    Usage:\n        p = HTMLParser()\n        p.feed(data)\n        ...\n        p.close()\n\n    Start tags are handled by calling self.handle_starttag() or\n    self.handle_startendtag(); end tags by self.handle_endtag().  The\n    data between tags is passed from the parser to the derived class\n    by calling self.handle_data() with the data as argument (the data\n    may be split up in arbitrary chunks).  Entity references are\n    passed by calling self.handle_entityref() with the entity\n    reference as the argument.  Numeric character references are\n    passed to self.handle_charref() with the string containing the\n    reference as the argument.\n    '
p447
sg88
(lp448
S'CDATA_CONTENT_ELEMENTS'
p449
aS'__starttag_text'
p450
aS'cdata_endtag'
p451
asg28
g94
sg29
g2
sg30
g31
sg90
(lp452
S'markupbase.ParserBase'
p453
asg65
(dp454
sg67
g97
sg68
g98
sg69
S''
sbs(dp455
S'_contains_at'
p456
(ihappydoclib.parseinfo.functioninfo
FunctionInfo
p457
(dp458
g4
((dp459
(dp460
tp461
sg17
(dp462
sg19
(S's'
S'sub'
p463
S'pos'
p464
tp465
sg22
(dp466
S's'
(NNNtp467
sg463
(NNNtp468
sg464
(NNNtp469
ssg25
g26
sg27
S''
sg28
g456
sg29
g2
sg30
g31
sg65
(dp470
sg67
g459
sg68
g460
sg69
S''
sbstp471
sS'_import_info'
p472
(ihappydoclib.parseinfo.imports
ImportInfo
p473
(dp474
S'_named_imports'
p475
(dp476
sS'_straight_imports'
p477
(lp478
sbsg25
g26
sg27
S'"""A parser for HTML and XHTML."""'
p479
sg28
S'HTMLParser'
p480
sg29
Nsg30
g31
sg65
(dp481
S'include_comments'
p482
I1
sS'cacheFilePrefix'
p483
S'.happydoc.'
p484
sS'useCache'
p485
I1
sS'docStringFormat'
p486
S'StructuredText'
p487
ssg67
g5
sg68
g455
sg69
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.