mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Improved emit marker resolve/build selection, emitted Go To Definition
This commit is contained in:
parent
faca458283
commit
6ded6a37cc
14 changed files with 216 additions and 44 deletions
|
@ -694,6 +694,19 @@ void BfSourceClassifier::MarkSkipped(BfAstNode* node)
|
|||
MarkSkipped(node->GetSrcStart(), node->GetSrcEnd());
|
||||
}
|
||||
|
||||
void BfSourceClassifier::DeferNodes(BfBlock* block)
|
||||
{
|
||||
for (auto child : *block)
|
||||
mDeferredNodes.Add(child);
|
||||
}
|
||||
|
||||
void BfSourceClassifier::FlushDeferredNodes()
|
||||
{
|
||||
for (auto node : mDeferredNodes)
|
||||
VisitChild(node);
|
||||
mDeferredNodes.Clear();
|
||||
}
|
||||
|
||||
void BfSourceClassifier::Visit(BfTypeAliasDeclaration* typeDeclaration)
|
||||
{
|
||||
if (typeDeclaration->mIgnoreDeclaration)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue