mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:49:14 +02:00
webidl: add Document/DocumentFragment/Node types
This commit is contained in:
parent
14466ee9d9
commit
b787203db7
@ -67,7 +67,10 @@ Type
|
|||||||
wibtUint32Array,
|
wibtUint32Array,
|
||||||
wibtUint8ClampedArray,
|
wibtUint8ClampedArray,
|
||||||
wibtFloat32Array,
|
wibtFloat32Array,
|
||||||
wibtFloat64Array
|
wibtFloat64Array,
|
||||||
|
wibtDocument,
|
||||||
|
wibtDocumentFragment,
|
||||||
|
wibtNode
|
||||||
);
|
);
|
||||||
TWebIDLBaseTypes = set of TWebIDLBaseType;
|
TWebIDLBaseTypes = set of TWebIDLBaseType;
|
||||||
const
|
const
|
||||||
@ -110,7 +113,10 @@ const
|
|||||||
'Uint32Array',
|
'Uint32Array',
|
||||||
'Uint8ClampedArray',
|
'Uint8ClampedArray',
|
||||||
'Float32Array',
|
'Float32Array',
|
||||||
'Float64Array');
|
'Float64Array',
|
||||||
|
'Document',
|
||||||
|
'DocumentFragment',
|
||||||
|
'Node');
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -928,7 +928,10 @@ begin
|
|||||||
'Uint32Array',
|
'Uint32Array',
|
||||||
'Uint8ClampedArray',
|
'Uint8ClampedArray',
|
||||||
'Float32Array',
|
'Float32Array',
|
||||||
'Float64Array': Result:=GetPasClassName(aTypeName);
|
'Float64Array',
|
||||||
|
'Document',
|
||||||
|
'DocumentFragment',
|
||||||
|
'Node': Result:=GetPasClassName(aTypeName);
|
||||||
|
|
||||||
'void': Result:=aTypeName;
|
'void': Result:=aTypeName;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user