Added ParserEntry class and created BofaParser class
This commit is contained in:
parent
3907da566d
commit
0231bdc13a
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
Add a link
Reference in a new issue