-
Notifications
You must be signed in to change notification settings - Fork 254
/
types.ts
14994 lines (13534 loc) · 675 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* This file was auto-generated by swig2ts.js
*/
import { StructuredErrorCallback, GenericErrorCallback, FROM_BUFFER_ASYNC_TYPE } from "../types";
type attributeDeclSAXFunc = {}
type attributeSAXFunc = {}
type cdataBlockSAXFunc = {}
type charactersSAXFunc = {}
type commentSAXFunc = {}
type elementDeclSAXFunc = {}
type endDocumentSAXFunc = {}
type endElementNsSAX2Func = {}
type endElementSAXFunc = {}
type entityDeclSAXFunc = {}
type errorSAXFunc = {}
type externalSubsetSAXFunc = {}
type fatalErrorSAXFunc = {}
type getEntitySAXFunc = {}
type getParameterEntitySAXFunc = {}
type hasExternalSubsetSAXFunc = {}
type hasInternalSubsetSAXFunc = {}
export type htmlDocPtr = xmlDocPtr & {}
type htmlElemDesc = {}
export type htmlElemDescPtr = {
name: string, // q(const).char
startTag: string, // char
endTag: string, // char
saveEndTag: string, // char
empty: string, // char
depr: string, // char
dtd: string, // char
isinline: string, // char
desc: string, // q(const).char
subelts: string, // q(const).char
defaultsubelt: string, // q(const).char
attrs_opt: string, // q(const).char
attrs_depr: string, // q(const).char
attrs_req: string, // q(const).char
getCPtr: {
(): number,
}}
type htmlEntityDesc = {}
export type htmlEntityDescPtr = {
value: number, // unsigned int
name: string, // q(const).char
desc: string, // q(const).char
getCPtr: {
(): number,
}}
export type htmlNodePtr = {}
type htmlParserCtxt = {}
export type htmlParserCtxtPtr = {}
type htmlParserInput = {}
export type htmlParserInputPtr = {}
type htmlParserNodeInfo = {}
type htmlParserOption = {}
type htmlSAXHandler = {}
export type htmlSAXHandlerPtr = {}
type htmlStatus = {}
type ignorableWhitespaceSAXFunc = {}
type internalSubsetSAXFunc = {}
type isStandaloneSAXFunc = {}
type notationDeclSAXFunc = {}
type processingInstructionSAXFunc = {}
type referenceSAXFunc = {}
type resolveEntitySAXFunc = {}
type setDocumentLocatorSAXFunc = {}
type startDocumentSAXFunc = {}
type startElementNsSAX2Func = {}
type startElementSAXFunc = {}
type unparsedEntityDeclSAXFunc = {}
type warningSAXFunc = {}
type xlinkActuate = {}
type xlinkExtendedLinkFunk = {}
type xlinkExtendedLinkSetFunk = {}
type xlinkHRef = {}
type xlinkHandler = {}
export type xlinkHandlerPtr = {
simple: xlinkSimpleLinkFunk, // xlinkSimpleLinkFunk
extended: xlinkExtendedLinkFunk, // xlinkExtendedLinkFunk
set: xlinkExtendedLinkSetFunk, // xlinkExtendedLinkSetFunk
getCPtr: {
(): number,
}}
type xlinkNodeDetectFunc = {}
type xlinkRole = {}
type xlinkShow = {}
type xlinkSimpleLinkFunk = {}
type xlinkTitle = {}
type xlinkType = {}
type xmlAttr = {}
export type xmlAttrPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlAttrPtr | null, // struct _xmlAttr
prev: xmlAttrPtr | null, // struct _xmlAttr
doc: xmlDocPtr | null, // struct _xmlDoc
ns: xmlNsPtr | null, // xmlNs
atype: xmlAttributeType, // xmlAttributeType
psvi: any, // void
getCPtr: {
(): number,
}}
type xmlAttribute = {}
type xmlAttributeDefault = {}
export type xmlAttributePtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // _xmlNode
last: xmlNodePtr | null, // _xmlNode
parent: xmlDtdPtr | null, // _xmlDtd
next: xmlNodePtr | null, // _xmlNode
prev: xmlNodePtr | null, // _xmlNode
doc: xmlDocPtr | null, // _xmlDoc
nexth: xmlAttributePtr, // _xmlAttribute
atype: xmlAttributeType, // xmlAttributeType
def: xmlAttributeDefault, // xmlAttributeDefault
defaultValue: string, // q(const).xmlChar
tree: xmlEnumerationPtr, // xmlEnumerationPtr
prefix: string, // q(const).xmlChar
elem: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlAttributeTable = {}
export type xmlAttributeTablePtr = {}
type xmlAttributeType = {}
type xmlAutomata = {}
export type xmlAutomataPtr = {}
type xmlAutomataState = {}
export type xmlAutomataStatePtr = {}
type xmlBuf = {}
export type xmlBufPtr = {}
type xmlBuffer = {}
type xmlBufferAllocationScheme = {}
export type xmlBufferPtr = {
content: string, // xmlChar
use: number, // unsigned int
size: number, // unsigned int
alloc: xmlBufferAllocationScheme, // xmlBufferAllocationScheme
contentIO: string, // xmlChar
getCPtr: {
(): number,
}}
type xmlCatalog = {}
type xmlCatalogAllow = {}
type xmlCatalogPrefer = {}
export type xmlCatalogPtr = {}
type xmlChLRange = {}
export type xmlChLRangePtr = {
low: number, // unsigned int
high: number, // unsigned int
getCPtr: {
(): number,
}}
type xmlChRangeGroup = {}
export type xmlChRangeGroupPtr = {
nbShortRange: number, // int
nbLongRange: number, // int
shortRange: xmlChSRange, // q(const).xmlChSRange
longRange: xmlChLRange, // q(const).xmlChLRange
getCPtr: {
(): number,
}}
type xmlChSRange = {}
export type xmlChSRangePtr = {
low: number, // unsigned short
high: number, // unsigned short
getCPtr: {
(): number,
}}
type xmlChar = {}
type xmlCharEncoding = {}
type xmlCharEncodingHandler = {}
export type xmlCharEncodingHandlerPtr = {
name: string, // char
input: xmlCharEncodingInputFunc, // xmlCharEncodingInputFunc
output: xmlCharEncodingOutputFunc, // xmlCharEncodingOutputFunc
getCPtr: {
(): number,
}}
type xmlCharEncodingInputFunc = {}
type xmlCharEncodingOutputFunc = {}
type xmlDOMWrapAcquireNsFunction = {}
type xmlDOMWrapCtxt = {}
export type xmlDOMWrapCtxtPtr = {
_private: any, // void
type: number, // int
namespaceMap: any, // void
getNsForNodeFunc: xmlDOMWrapAcquireNsFunction, // xmlDOMWrapAcquireNsFunction
getCPtr: {
(): number,
}}
type xmlDeregisterNodeFunc = {}
type xmlDict = {}
export type xmlDictPtr = {}
type xmlDoc = {}
type xmlDocProperties = {}
export type xmlDocPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // char
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
compression: number, // int
standalone: number, // int
intSubset: xmlDtdPtr | null, // struct _xmlDtd
extSubset: xmlDtdPtr | null, // struct _xmlDtd
oldNs: xmlNsPtr | null, // struct _xmlNs
version: string, // q(const).xmlChar
encoding: string, // q(const).xmlChar
ids: any, // void
refs: any, // void
URL: string, // q(const).xmlChar
charset: number, // int
dict: xmlDictPtr, // struct _xmlDict
psvi: any, // void
parseFlags: number, // int
properties: number, // int
getCPtr: {
(): number,
}}
type xmlDtd = {}
export type xmlDtdPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDocPtr | null, // struct _xmlDoc
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
notations: any, // void
elements: any, // void
attributes: any, // void
entities: any, // void
ExternalID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
pentities: any, // void
getCPtr: {
(): number,
}}
type xmlElement = {}
type xmlElementContent = {}
type xmlElementContentOccur = {}
export type xmlElementContentPtr = {
type: xmlElementContentType, // xmlElementContentType
ocur: xmlElementContentOccur, // xmlElementContentOccur
name: string, // q(const).xmlChar
c1: xmlElementContentPtr, // _xmlElementContent
c2: xmlElementContentPtr, // _xmlElementContent
parent: xmlElementContentPtr, // _xmlElementContent
prefix: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlElementContentType = {}
export type xmlElementPtr = xmlNodePtr & {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDtdPtr | null, // struct _xmlDtd
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
etype: xmlElementTypeVal, // xmlElementTypeVal
content: xmlElementContentPtr, // xmlElementContentPtr
attributes: xmlAttributePtr, // xmlAttributePtr
prefix: string, // q(const).xmlChar
contModel: xmlRegexpPtr, // xmlRegexpPtr
getCPtr: {
(): number,
}}
type xmlElementTable = {}
export type xmlElementTablePtr = {}
type xmlElementType = {}
type xmlElementTypeVal = {}
type xmlEntitiesTable = {}
export type xmlEntitiesTablePtr = {}
type xmlEntity = {}
export type xmlEntityPtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlDtdPtr | null, // struct _xmlDtd
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
orig: string, // xmlChar
content: string, // xmlChar
length: number, // int
etype: xmlEntityType, // xmlEntityType
ExternalID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
nexte: xmlEntityPtr, // struct _xmlEntity
URI: string, // q(const).xmlChar
owner: number, // int
checked: number, // int
getCPtr: {
(): number,
}}
type xmlEntityReferenceFunc = {}
type xmlEntityType = {}
type xmlEnumeration = {}
export type xmlEnumerationPtr = {
next: xmlEnumerationPtr, // _xmlEnumeration
name: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlError = {}
type xmlErrorDomain = {}
type xmlErrorLevel = {}
export type xmlErrorPtr = {
domain: number, // int
code: number, // int
message: string, // char
level: xmlErrorLevel, // xmlErrorLevel
file: string, // char
line: number, // int
str1: string, // char
str2: string, // char
str3: string, // char
int1: number, // int
int2: number, // int
ctxt: any, // void
node: any, // void
getCPtr: {
(): number,
}}
type xmlExpCtxt = {}
export type xmlExpCtxtPtr = {}
type xmlExpNode = {}
export type xmlExpNodePtr = {}
type xmlExpNodeType = {}
type xmlExternalEntityLoader = {}
type xmlFeature = {}
type xmlFreeFunc = {}
type xmlGenericErrorFunc = {}
type xmlGlobalState = {}
export type xmlGlobalStatePtr = {
xmlParserVersion: string, // q(const).char
xmlDefaultSAXLocator: xmlSAXLocator, // xmlSAXLocator
xmlDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
docbDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
htmlDefaultSAXHandler: xmlSAXHandlerV1, // xmlSAXHandlerV1
xmlFree: xmlFreeFunc, // xmlFreeFunc
xmlMalloc: xmlMallocFunc, // xmlMallocFunc
xmlMemStrdup: xmlStrdupFunc, // xmlStrdupFunc
xmlRealloc: xmlReallocFunc, // xmlReallocFunc
xmlGenericError: xmlGenericErrorFunc, // xmlGenericErrorFunc
xmlStructuredError: xmlStructuredErrorFunc, // xmlStructuredErrorFunc
xmlGenericErrorContext: any, // void
oldXMLWDcompatibility: number, // int
xmlBufferAllocScheme: xmlBufferAllocationScheme, // xmlBufferAllocationScheme
xmlDefaultBufferSize: number, // int
xmlSubstituteEntitiesDefaultValue: number, // int
xmlDoValidityCheckingDefaultValue: number, // int
xmlGetWarningsDefaultValue: number, // int
xmlKeepBlanksDefaultValue: number, // int
xmlLineNumbersDefaultValue: number, // int
xmlLoadExtDtdDefaultValue: number, // int
xmlParserDebugEntities: number, // int
xmlPedanticParserDefaultValue: number, // int
xmlSaveNoEmptyTags: number, // int
xmlIndentTreeOutput: number, // int
xmlTreeIndentString: string, // q(const).char
xmlRegisterNodeDefaultValue: xmlRegisterNodeFunc, // xmlRegisterNodeFunc
xmlDeregisterNodeDefaultValue: xmlDeregisterNodeFunc, // xmlDeregisterNodeFunc
xmlMallocAtomic: xmlMallocFunc, // xmlMallocFunc
xmlLastError: xmlError, // xmlError
xmlParserInputBufferCreateFilenameValue: xmlParserInputBufferCreateFilenameFunc, // xmlParserInputBufferCreateFilenameFunc
xmlOutputBufferCreateFilenameValue: xmlOutputBufferCreateFilenameFunc, // xmlOutputBufferCreateFilenameFunc
xmlStructuredErrorContext: any, // void
getCPtr: {
(): number,
}}
type xmlHashCopier = {}
type xmlHashDeallocator = {}
type xmlHashScanner = {}
type xmlHashScannerFull = {}
type xmlHashTable = {}
export type xmlHashTablePtr = {}
type xmlID = {}
export type xmlIDPtr = {
next: xmlIDPtr, // _xmlID
value: string, // q(const).xmlChar
attr: xmlAttrPtr | null, // xmlAttrPtr
name: string, // q(const).xmlChar
lineno: number, // int
doc: xmlDocPtr | null, // _xmlDoc
getCPtr: {
(): number,
}}
type xmlIDTable = {}
export type xmlIDTablePtr = {}
type xmlInputCloseCallback = {}
type xmlInputMatchCallback = {}
type xmlInputOpenCallback = {}
type xmlInputReadCallback = {}
type xmlLink = {}
export type xmlLinkPtr = {}
type xmlList = {}
type xmlListDataCompare = {}
type xmlListDeallocator = {}
export type xmlListPtr = {}
type xmlListWalker = {}
type xmlLocationSet = {}
export type xmlLocationSetPtr = {
locNr: number, // int
locMax: number, // int
locTab: xmlXPathObjectPtr, // xmlXPathObjectPtr
getCPtr: {
(): number,
}}
type xmlMallocFunc = {}
type xmlModule = {}
type xmlModuleOption = {}
export type xmlModulePtr = {}
type xmlMutex = {}
export type xmlMutexPtr = {}
type xmlNode = {}
export type xmlNodePtr = {
_private: any, // void
type: xmlElementType, // xmlElementType
name: string, // q(const).xmlChar
children: xmlNodePtr | null, // struct _xmlNode
last: xmlNodePtr | null, // struct _xmlNode
parent: xmlNodePtr | null, // struct _xmlNode
next: xmlNodePtr | null, // struct _xmlNode
prev: xmlNodePtr | null, // struct _xmlNode
doc: xmlDocPtr | null, // struct _xmlDoc
ns: xmlNsPtr | null, // xmlNs
content: string, // xmlChar
properties: xmlAttrPtr | null, // struct _xmlAttr
nsDef: xmlNsPtr | null, // xmlNs
psvi: any, // void
line: number, // unsigned short
extra: number, // unsigned short
getCPtr: {
(): number,
}}
type xmlNodeSet = {}
export type xmlNodeSetPtr = {
nodeNr: number, // int
nodeMax: number, // int
nodeTab: xmlNodePtr | null, // xmlNodePtr
getCPtr: {
(): number,
}}
type xmlNotation = {}
export type xmlNotationPtr = {
name: string, // q(const).xmlChar
PublicID: string, // q(const).xmlChar
SystemID: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlNotationTable = {}
export type xmlNotationTablePtr = {}
type xmlNs = {}
export type xmlNsPtr = {
next: xmlNsPtr | null, // struct _xmlNs
type: xmlNsPtr | null, // xmlNsType
href: string, // q(const).xmlChar
prefix: string, // q(const).xmlChar
_private: any, // void
context: xmlDocPtr | null, // struct _xmlDoc
getCPtr: {
(): number,
}}
type xmlNsType = {}
type xmlOutputBuffer = {}
type xmlOutputBufferCreateFilenameFunc = {}
export type xmlOutputBufferPtr = {
context: any, // void
writecallback: xmlOutputWriteCallback, // xmlOutputWriteCallback
closecallback: xmlOutputCloseCallback, // xmlOutputCloseCallback
encoder: xmlCharEncodingHandlerPtr, // xmlCharEncodingHandlerPtr
buffer: xmlBufPtr, // xmlBufPtr
conv: xmlBufPtr, // xmlBufPtr
written: number, // int
error: number, // int
getCPtr: {
(): number,
}}
type xmlOutputCloseCallback = {}
type xmlOutputMatchCallback = {}
type xmlOutputOpenCallback = {}
type xmlOutputWriteCallback = {}
type xmlParserCtxt = {}
export type xmlParserCtxtPtr = {
sax: xmlSAXHandlerPtr, // _xmlSAXHandler
userData: any, // void
myDoc: xmlDocPtr | null, // xmlDocPtr
wellFormed: number, // int
replaceEntities: number, // int
version: string, // q(const).xmlChar
encoding: string, // q(const).xmlChar
standalone: number, // int
html: number, // int
input: xmlParserInputPtr, // xmlParserInputPtr
inputNr: number, // int
inputMax: number, // int
inputTab: xmlParserInputPtr, // xmlParserInputPtr
node: xmlNodePtr | null, // xmlNodePtr
nodeNr: number, // int
nodeMax: number, // int
nodeTab: xmlNodePtr | null, // xmlNodePtr
record_info: number, // int
node_seq: xmlParserNodeInfoSeq, // xmlParserNodeInfoSeq
errNo: number, // int
hasExternalSubset: number, // int
hasPErefs: number, // int
external: number, // int
valid: number, // int
validate: number, // int
vctxt: xmlValidCtxt, // xmlValidCtxt
instate: xmlParserInputState, // xmlParserInputState
token: number, // int
directory: string, // char
name: string, // q(const).xmlChar
nameNr: number, // int
nameMax: number, // int
nameTab: string, // q(const).xmlChar
nbChars: number, // long
checkIndex: number, // long
keepBlanks: number, // int
disableSAX: number, // int
inSubset: number, // int
intSubName: string, // q(const).xmlChar
extSubURI: string, // xmlChar
extSubSystem: string, // xmlChar
space: number, // int
spaceNr: number, // int
spaceMax: number, // int
spaceTab: number, // int
depth: number, // int
entity: xmlParserInputPtr, // xmlParserInputPtr
charset: number, // int
nodelen: number, // int
nodemem: number, // int
pedantic: number, // int
_private: any, // void
loadsubset: number, // int
linenumbers: number, // int
catalogs: any, // void
recovery: number, // int
progressive: number, // int
dict: xmlDictPtr, // xmlDictPtr
atts: string, // q(const).xmlChar
maxatts: number, // int
docdict: number, // int
str_xml: string, // q(const).xmlChar
str_xmlns: string, // q(const).xmlChar
str_xml_ns: string, // q(const).xmlChar
sax2: number, // int
nsNr: number, // int
nsMax: number, // int
nsTab: string, // q(const).xmlChar
attallocs: number, // int
pushTab: xmlStartTag, // xmlStartTag
attsDefault: xmlHashTablePtr, // xmlHashTablePtr
attsSpecial: xmlHashTablePtr, // xmlHashTablePtr
nsWellFormed: number, // int
options: number, // int
dictNames: number, // int
freeElemsNr: number, // int
freeElems: xmlNodePtr | null, // xmlNodePtr
freeAttrsNr: number, // int
freeAttrs: xmlAttrPtr | null, // xmlAttrPtr
lastError: xmlError, // xmlError
parseMode: xmlParserMode, // xmlParserMode
nbentities: number, // unsigned long
sizeentities: number, // unsigned long
nodeInfo: xmlParserNodeInfo, // xmlParserNodeInfo
nodeInfoNr: number, // int
nodeInfoMax: number, // int
nodeInfoTab: xmlParserNodeInfo, // xmlParserNodeInfo
input_id: number, // int
sizeentcopy: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserErrors = {}
type xmlParserInput = {}
type xmlParserInputBuffer = {}
type xmlParserInputBufferCreateFilenameFunc = {}
export type xmlParserInputBufferPtr = {
context: any, // void
readcallback: xmlInputReadCallback, // xmlInputReadCallback
closecallback: xmlInputCloseCallback, // xmlInputCloseCallback
encoder: xmlCharEncodingHandlerPtr, // xmlCharEncodingHandlerPtr
buffer: xmlBufPtr, // xmlBufPtr
raw: xmlBufPtr, // xmlBufPtr
compressed: number, // int
error: number, // int
rawconsumed: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserInputDeallocate = {}
export type xmlParserInputPtr = {
buf: xmlParserInputBufferPtr, // xmlParserInputBufferPtr
filename: string, // q(const).char
directory: string, // q(const).char
base: string, // q(const).xmlChar
cur: string, // q(const).xmlChar
end: string, // q(const).xmlChar
length: number, // int
line: number, // int
col: number, // int
consumed: number, // unsigned long
free: xmlParserInputDeallocate, // xmlParserInputDeallocate
encoding: string, // q(const).xmlChar
version: string, // q(const).xmlChar
standalone: number, // int
id: number, // int
getCPtr: {
(): number,
}}
type xmlParserInputState = {}
type xmlParserMode = {}
type xmlParserNodeInfo = {}
export type xmlParserNodeInfoPtr = {
node: undefined, // q(const)._xmlNode
begin_pos: number, // unsigned long
begin_line: number, // unsigned long
end_pos: number, // unsigned long
end_line: number, // unsigned long
getCPtr: {
(): number,
}}
type xmlParserNodeInfoSeq = {}
export type xmlParserNodeInfoSeqPtr = {
maximum: number, // unsigned long
length: number, // unsigned long
buffer: xmlParserNodeInfo, // xmlParserNodeInfo
getCPtr: {
(): number,
}}
type xmlParserOption = {}
type xmlParserSeverities = {}
type xmlPattern = {}
type xmlPatternFlags = {}
export type xmlPatternPtr = {}
type xmlRMutex = {}
export type xmlRMutexPtr = {}
type xmlReallocFunc = {}
type xmlRef = {}
export type xmlRefPtr = {
next: xmlRefPtr, // _xmlRef
value: string, // q(const).xmlChar
attr: xmlAttrPtr | null, // xmlAttrPtr
name: string, // q(const).xmlChar
lineno: number, // int
getCPtr: {
(): number,
}}
type xmlRefTable = {}
export type xmlRefTablePtr = {}
type xmlRegExecCallbacks = {}
type xmlRegExecCtxt = {}
export type xmlRegExecCtxtPtr = {}
type xmlRegexp = {}
export type xmlRegexpPtr = {}
type xmlRegisterNodeFunc = {}
type xmlRelaxNG = {}
type xmlRelaxNGParserCtxt = {}
export type xmlRelaxNGParserCtxtPtr = {}
type xmlRelaxNGParserFlag = {}
export type xmlRelaxNGPtr = {}
type xmlRelaxNGValidCtxt = {}
export type xmlRelaxNGValidCtxtPtr = {}
type xmlRelaxNGValidErr = {}
type xmlRelaxNGValidityErrorFunc = {}
type xmlRelaxNGValidityWarningFunc = {}
type xmlSAXHandler = {}
export type xmlSAXHandlerPtr = {
internalSubset: internalSubsetSAXFunc, // internalSubsetSAXFunc
isStandalone: isStandaloneSAXFunc, // isStandaloneSAXFunc
hasInternalSubset: hasInternalSubsetSAXFunc, // hasInternalSubsetSAXFunc
hasExternalSubset: hasExternalSubsetSAXFunc, // hasExternalSubsetSAXFunc
resolveEntity: resolveEntitySAXFunc, // resolveEntitySAXFunc
getEntity: getEntitySAXFunc, // getEntitySAXFunc
entityDecl: entityDeclSAXFunc, // entityDeclSAXFunc
notationDecl: notationDeclSAXFunc, // notationDeclSAXFunc
attributeDecl: attributeDeclSAXFunc, // attributeDeclSAXFunc
elementDecl: elementDeclSAXFunc, // elementDeclSAXFunc
unparsedEntityDecl: unparsedEntityDeclSAXFunc, // unparsedEntityDeclSAXFunc
setDocumentLocator: setDocumentLocatorSAXFunc, // setDocumentLocatorSAXFunc
startDocument: startDocumentSAXFunc, // startDocumentSAXFunc
endDocument: endDocumentSAXFunc, // endDocumentSAXFunc
startElement: startElementSAXFunc, // startElementSAXFunc
endElement: endElementSAXFunc, // endElementSAXFunc
reference: referenceSAXFunc, // referenceSAXFunc
characters: charactersSAXFunc, // charactersSAXFunc
ignorableWhitespace: ignorableWhitespaceSAXFunc, // ignorableWhitespaceSAXFunc
processingInstruction: processingInstructionSAXFunc, // processingInstructionSAXFunc
comment: commentSAXFunc, // commentSAXFunc
warning: warningSAXFunc, // warningSAXFunc
error: errorSAXFunc, // errorSAXFunc
fatalError: fatalErrorSAXFunc, // fatalErrorSAXFunc
getParameterEntity: getParameterEntitySAXFunc, // getParameterEntitySAXFunc
cdataBlock: cdataBlockSAXFunc, // cdataBlockSAXFunc
externalSubset: externalSubsetSAXFunc, // externalSubsetSAXFunc
initialized: number, // unsigned int
_private: any, // void
startElementNs: startElementNsSAX2Func, // startElementNsSAX2Func
endElementNs: endElementNsSAX2Func, // endElementNsSAX2Func
serror: xmlStructuredErrorFunc, // xmlStructuredErrorFunc
getCPtr: {
(): number,
}}
type xmlSAXHandlerV1 = {}
export type xmlSAXHandlerV1Ptr = {
internalSubset: internalSubsetSAXFunc, // internalSubsetSAXFunc
isStandalone: isStandaloneSAXFunc, // isStandaloneSAXFunc
hasInternalSubset: hasInternalSubsetSAXFunc, // hasInternalSubsetSAXFunc
hasExternalSubset: hasExternalSubsetSAXFunc, // hasExternalSubsetSAXFunc
resolveEntity: resolveEntitySAXFunc, // resolveEntitySAXFunc
getEntity: getEntitySAXFunc, // getEntitySAXFunc
entityDecl: entityDeclSAXFunc, // entityDeclSAXFunc
notationDecl: notationDeclSAXFunc, // notationDeclSAXFunc
attributeDecl: attributeDeclSAXFunc, // attributeDeclSAXFunc
elementDecl: elementDeclSAXFunc, // elementDeclSAXFunc
unparsedEntityDecl: unparsedEntityDeclSAXFunc, // unparsedEntityDeclSAXFunc
setDocumentLocator: setDocumentLocatorSAXFunc, // setDocumentLocatorSAXFunc
startDocument: startDocumentSAXFunc, // startDocumentSAXFunc
endDocument: endDocumentSAXFunc, // endDocumentSAXFunc
startElement: startElementSAXFunc, // startElementSAXFunc
endElement: endElementSAXFunc, // endElementSAXFunc
reference: referenceSAXFunc, // referenceSAXFunc
characters: charactersSAXFunc, // charactersSAXFunc
ignorableWhitespace: ignorableWhitespaceSAXFunc, // ignorableWhitespaceSAXFunc
processingInstruction: processingInstructionSAXFunc, // processingInstructionSAXFunc
comment: commentSAXFunc, // commentSAXFunc
warning: warningSAXFunc, // warningSAXFunc
error: errorSAXFunc, // errorSAXFunc
fatalError: fatalErrorSAXFunc, // fatalErrorSAXFunc
getParameterEntity: getParameterEntitySAXFunc, // getParameterEntitySAXFunc
cdataBlock: cdataBlockSAXFunc, // cdataBlockSAXFunc
externalSubset: externalSubsetSAXFunc, // externalSubsetSAXFunc
initialized: number, // unsigned int
getCPtr: {
(): number,
}}
type xmlSAXLocator = {}
export type xmlSAXLocatorPtr = {
getPublicId: string, // q(const).xmlChar
getSystemId: string, // q(const).xmlChar
getLineNumber: number, // int
getColumnNumber: number, // int
getCPtr: {
(): number,
}}
type xmlSaveCtxt = {}
export type xmlSaveCtxtPtr = {}
type xmlSaveOption = {}
type xmlSchema = {}
type xmlSchemaAnnot = {}
export type xmlSchemaAnnotPtr = {
next: xmlSchemaAnnotPtr, // _xmlSchemaAnnot
content: xmlNodePtr | null, // xmlNodePtr
getCPtr: {
(): number,
}}
type xmlSchemaAttribute = {}
type xmlSchemaAttributeGroup = {}
export type xmlSchemaAttributeGroupPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaAttributePtr, // _xmlSchemaAttribute
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
flags: number, // int
attributeWildcard: xmlSchemaWildcardPtr, // xmlSchemaWildcardPtr
refPrefix: string, // q(const).xmlChar
refItem: xmlSchemaAttributeGroupPtr, // xmlSchemaAttributeGroupPtr
targetNamespace: string, // q(const).xmlChar
attrUses: any, // void
getCPtr: {
(): number,
}}
type xmlSchemaAttributeLink = {}
export type xmlSchemaAttributeLinkPtr = {
next: xmlSchemaAttributeLinkPtr, // _xmlSchemaAttributeLink
attr: xmlSchemaAttributePtr, // _xmlSchemaAttribute
getCPtr: {
(): number,
}}
export type xmlSchemaAttributePtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaAttributePtr, // _xmlSchemaAttribute
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
typeName: string, // q(const).xmlChar
typeNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
base: xmlSchemaTypePtr, // xmlSchemaTypePtr
occurs: number, // int
defValue: string, // q(const).xmlChar
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
node: xmlNodePtr | null, // xmlNodePtr
targetNamespace: string, // q(const).xmlChar
flags: number, // int
refPrefix: string, // q(const).xmlChar
defVal: xmlSchemaValPtr, // xmlSchemaValPtr
refDecl: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
getCPtr: {
(): number,
}}
type xmlSchemaContentType = {}
type xmlSchemaElement = {}
export type xmlSchemaElementPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaTypePtr, // _xmlSchemaType
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
minOccurs: number, // int
maxOccurs: number, // int
flags: number, // int
targetNamespace: string, // q(const).xmlChar
namedType: string, // q(const).xmlChar
namedTypeNs: string, // q(const).xmlChar
substGroup: string, // q(const).xmlChar
substGroupNs: string, // q(const).xmlChar
scope: string, // q(const).xmlChar
value: string, // q(const).xmlChar
refDecl: xmlSchemaElementPtr | null, // _xmlSchemaElement
contModel: xmlRegexpPtr, // xmlRegexpPtr
contentType: xmlSchemaContentType, // xmlSchemaContentType
refPrefix: string, // q(const).xmlChar
defVal: xmlSchemaValPtr, // xmlSchemaValPtr
idcs: any, // void
getCPtr: {
(): number,
}}
type xmlSchemaFacet = {}
type xmlSchemaFacetLink = {}
export type xmlSchemaFacetLinkPtr = {
next: xmlSchemaFacetLinkPtr, // _xmlSchemaFacetLink
facet: xmlSchemaFacetPtr, // xmlSchemaFacetPtr
getCPtr: {
(): number,
}}
export type xmlSchemaFacetPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaFacetPtr, // _xmlSchemaFacet
value: string, // q(const).xmlChar
id: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
node: xmlNodePtr | null, // xmlNodePtr
fixed: number, // int
whitespace: number, // int
val: xmlSchemaValPtr, // xmlSchemaValPtr
regexp: xmlRegexpPtr, // xmlRegexpPtr
getCPtr: {
(): number,
}}
type xmlSchemaNotation = {}
export type xmlSchemaNotationPtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
name: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
identifier: string, // q(const).xmlChar
targetNamespace: string, // q(const).xmlChar
getCPtr: {
(): number,
}}
type xmlSchemaParserCtxt = {}
export type xmlSchemaParserCtxtPtr = {}
export type xmlSchemaPtr = {
name: string, // q(const).xmlChar
targetNamespace: string, // q(const).xmlChar
version: string, // q(const).xmlChar
id: string, // q(const).xmlChar
doc: xmlDocPtr | null, // xmlDocPtr
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
flags: number, // int
typeDecl: xmlHashTablePtr, // xmlHashTablePtr
attrDecl: xmlHashTablePtr, // xmlHashTablePtr
attrgrpDecl: xmlHashTablePtr, // xmlHashTablePtr
elemDecl: xmlHashTablePtr, // xmlHashTablePtr
notaDecl: xmlHashTablePtr, // xmlHashTablePtr
schemasImports: xmlHashTablePtr, // xmlHashTablePtr
_private: any, // void
groupDecl: xmlHashTablePtr, // xmlHashTablePtr
dict: xmlDictPtr, // xmlDictPtr
includes: any, // void
preserve: number, // int
counter: number, // int
idcDef: xmlHashTablePtr, // xmlHashTablePtr
volatiles: any, // void
getCPtr: {
(): number,
}}
export type xmlSchemaSAXPlugPtr = {}
type xmlSchemaSAXPlugStruct = {}
type xmlSchemaType = {}
type xmlSchemaTypeLink = {}
export type xmlSchemaTypeLinkPtr = {
next: xmlSchemaTypeLinkPtr, // _xmlSchemaTypeLink
type: xmlSchemaTypePtr, // xmlSchemaTypePtr
getCPtr: {
(): number,
}}
export type xmlSchemaTypePtr = {
type: xmlSchemaTypeType, // xmlSchemaTypeType
next: xmlSchemaTypePtr, // _xmlSchemaType
name: string, // q(const).xmlChar
id: string, // q(const).xmlChar
ref: string, // q(const).xmlChar
refNs: string, // q(const).xmlChar
annot: xmlSchemaAnnotPtr, // xmlSchemaAnnotPtr
subtypes: xmlSchemaTypePtr, // xmlSchemaTypePtr
attributes: xmlSchemaAttributePtr, // xmlSchemaAttributePtr
node: xmlNodePtr | null, // xmlNodePtr
minOccurs: number, // int
maxOccurs: number, // int
flags: number, // int
contentType: xmlSchemaContentType, // xmlSchemaContentType
base: string, // q(const).xmlChar
baseNs: string, // q(const).xmlChar
baseType: xmlSchemaTypePtr, // xmlSchemaTypePtr