mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Show comptime emits as embedded sourceviews
This commit is contained in:
parent
ee27f6fd02
commit
4d1e14a1c3
65 changed files with 3360 additions and 633 deletions
|
@ -14,6 +14,7 @@ NS_BF_BEGIN
|
|||
|
||||
class BfPassInstance;
|
||||
class BfProject;
|
||||
class BfSourceClassifier;
|
||||
|
||||
enum BfSyntaxToken
|
||||
{
|
||||
|
@ -136,13 +137,20 @@ public:
|
|||
void ReportMemory(MemReporter* memReporter);
|
||||
};
|
||||
|
||||
enum BfDefineState
|
||||
enum BfDefineState : int8
|
||||
{
|
||||
BfDefineState_FromProject,
|
||||
BfDefineState_ManualSet,
|
||||
BfDefineState_ManualUnset
|
||||
};
|
||||
|
||||
enum BfSourceEmbedKind : int8
|
||||
{
|
||||
BfSourceEmbedKind_None,
|
||||
BfSourceEmbedKind_Type,
|
||||
BfSourceEmbedKind_Method
|
||||
};
|
||||
|
||||
class BfParser : public BfSource
|
||||
{
|
||||
public:
|
||||
|
@ -150,7 +158,9 @@ public:
|
|||
bool mUsingCache;
|
||||
|
||||
BfPassInstance* mPassInstance;
|
||||
BfSourceClassifier* mSourceClassifier;
|
||||
String mFileName;
|
||||
BfSourceEmbedKind mEmbedKind;
|
||||
bool mAwaitingDelete;
|
||||
|
||||
bool mCompatMode; // Does C++ compatible parsing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue