mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Formatting improvements to failed parse
This commit is contained in:
parent
10f47cdc8a
commit
ebd57e7d8e
2 changed files with 74 additions and 8 deletions
|
@ -72,6 +72,7 @@ public:
|
|||
bool mReformatting;
|
||||
bool mIgnoreTrivia;
|
||||
bool mDocPrep;
|
||||
BlockState* mCurBlockState;
|
||||
int mCurIndentLevel;
|
||||
int mQueuedSpaceCount;
|
||||
int mLastSpaceOffset; // Indent difference from original to new
|
||||
|
@ -114,6 +115,7 @@ public:
|
|||
void QueueMethodDeclaration(BfMethodDeclaration* methodDeclaration);
|
||||
int CalcOrigLineSpacing(BfAstNode* bfAstNode, int* lineStartIdx);
|
||||
void WriteIgnoredNode(BfAstNode* node);
|
||||
void CheckRawNode(BfAstNode* node);
|
||||
|
||||
virtual void Visit(BfAstNode* bfAstNode) override;
|
||||
virtual void Visit(BfErrorNode* bfErrorNode) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue