CTokenizer & XmlCTokenizer

This commit is contained in:
Robin Voetter
2020-06-10 02:10:37 +02:00
parent ba6180e336
commit fb390bde1d
3 changed files with 270 additions and 8 deletions

View File

@@ -17,8 +17,8 @@ pub const Content = union(enum) {
};
pub const Element = struct {
const AttributeList = SegmentedList(*Attribute, 0);
const ContentList = SegmentedList(Content, 0);
pub const AttributeList = SegmentedList(*Attribute, 0);
pub const ContentList = SegmentedList(Content, 0);
tag: []const u8,
attributes: AttributeList,