Add implementation for HTML Node Iterator
This, along with Tree Walker, will replace the Tree Enumerator. https://dom.spec.whatwg.org/#interface-nodeiterator
This commit is contained in:
+10
-10
@@ -13,19 +13,19 @@ typedef NS_ENUM(unsigned short, HTMLNodeFilterValue)
|
||||
HTMLNodeFilterAccept = 1,
|
||||
HTMLNodeFilterReject = 2,
|
||||
HTMLNodeFilterSkip = 3
|
||||
} HTMLNodeFilterValue;
|
||||
};
|
||||
|
||||
typedef NS_ENUM(unsigned long, HTMLNodeFilterShowOptions)
|
||||
{
|
||||
HTMLNodeFilterShowAll = 0xFFFFFFFF;
|
||||
HTMLNodeFilterShowElement = 0x1;
|
||||
HTMLNodeFilterShowText = 0x4;
|
||||
HTMLNodeFilterShowProcessingInstruction = 0x40;
|
||||
HTMLNodeFilterShowComment = 0x80;
|
||||
HTMLNodeFilterShowDocument = 0x100;
|
||||
HTMLNodeFilterShowDocumentType = 0x200;
|
||||
HTMLNodeFilterShowDocumentFragment = 0x400;
|
||||
} HTMLNodeFilterShowOptions;
|
||||
HTMLNodeFilterShowAll = 0xFFFFFFFF,
|
||||
HTMLNodeFilterShowElement = 0x1,
|
||||
HTMLNodeFilterShowText = 0x4,
|
||||
HTMLNodeFilterShowProcessingInstruction = 0x40,
|
||||
HTMLNodeFilterShowComment = 0x80,
|
||||
HTMLNodeFilterShowDocument = 0x100,
|
||||
HTMLNodeFilterShowDocumentType = 0x200,
|
||||
HTMLNodeFilterShowDocumentFragment = 0x400
|
||||
};
|
||||
|
||||
@class HTMLNode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user