Added ParserEntry class and created BofaParser class

This commit is contained in:
Booklordofthedings 2024-08-03 16:24:09 +02:00
parent 3907da566d
commit 0231bdc13a
2 changed files with 21 additions and 0 deletions

5
src/BofaParser.bf Normal file
View file

@ -0,0 +1,5 @@
namespace Bofa;
class BofaParser
{
}

16
src/Parser/ParserEntry.bf Normal file
View file

@ -0,0 +1,16 @@
namespace Bofa.Parser;
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;
}
}