Skip to content

Support complex root structures #23

@shravan2x

Description

@shravan2x

The KeyValues wiki states that statements like "#base" "panelBase.res" may be present in VDF files. Automatically executing import statements is out of scope for this library, but we should support these if possible. There may also be other root tokens like comments. One way to return these is as a IReadOnlyList<VToken>.

TODO:

  • Are such "complex" root structures common? Do any users rely on hacks to solve this problem?
  • Should this be a breaking change or an overload?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions