Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

27 lines
619 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
// uLang Compiler Public API
#pragma once
#include "uLang/Semantics/CaptureScope.h"
#include "uLang/Semantics/ControlScope.h"
namespace uLang
{
class CCaptureControlScope : public CControlScope, public CCaptureScope
{
public:
CCaptureControlScope(CScope* Parent, CSemanticProgram& Program)
: CControlScope{Parent, Program}
{
}
virtual const CCaptureScope* AsCaptureScopeNullable() const override { return this; }
virtual CCaptureScope* GetParentCaptureScope() const override
{
return _Parent->GetCaptureScope();
}
};
}