Rewrite #2
2 changed files with 21 additions and 0 deletions
5
src/BofaParser.bf
Normal file
5
src/BofaParser.bf
Normal file
|
@ -0,0 +1,5 @@
|
|||
namespace Bofa;
|
||||
|
||||
class BofaParser
|
||||
{
|
||||
}
|
16
src/Parser/ParserEntry.bf
Normal file
16
src/Parser/ParserEntry.bf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue