Rewrite #2

Merged
Booklordofthedings merged 22 commits from rewrite into dev 2024-08-26 13:32:44 +02:00
2 changed files with 11 additions and 8 deletions
Showing only changes of commit c2940ad404 - Show all commits

View file

@ -5,12 +5,5 @@ using System;
struct ParserEntry
{
public bool IsBofaOrText = true; //True == Bofa, False == Text
public EntryUnion Data;
[Union]
public struct EntryUnion
{
public Bofa Bofa;
public StringView Text;
}
public ParserEntryUnion Data;
}

View file

@ -0,0 +1,10 @@
namespace Bofa.Parser;
using System;
[Union]
struct ParserEntryUnion
{
public Bofa Bofa;
public StringView Text;
}