Skip to content

Use LinkedList instead of simple Array for Node Children #1

@adam-rocska

Description

@adam-rocska

For now the children of each PlistNode in the old-style parser
are stored in a simple array. This is fine for now, but to
improve type safety, it would be better to make them linked
lists instead where the stored value is actually the first item.

This way for example with dictionaries, the next item of a key
can be enforced to always be a value, the previous item can be
anything but a key, and any non-key value can only be followed
by a key. SO the compiler will fail miserably during fuckups.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions