Vixen
02b45cc4
csharp
public static class VxInputReader

Turns .vxinput text into a VxInputNode tree.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Indentation-driven recursive descent over a narrow subset of YAML: block mappings, block sequences, plain and quoted scalars, and # comments. Anchors, aliases, tags, multi-document streams, folded and literal blocks and flow collections are all refused by name rather than mis-parsed, because a file that silently loads as something other than what it says would rebind a player's controls to the wrong thing.

Tabs are an error. YAML forbids them as indentation and every editor that inserts one produces a file that another parser reads differently; saying so with a position is the only outcome that ends with the author fixing it.

Methods (1)

  • public static VxInputNode Read(string text)

    Reads a document.

Used by (2)

  • InputActionAssetReaderVixen.Input
  • VxInputReaderTestsVixen.Input.Tests