Files
UnrealEngine/Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/ControlScope.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

29 lines
711 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
// uLang Compiler Public API
#pragma once
#include "uLang/Common/Containers/SharedPointer.h"
#include "uLang/Semantics/SemanticScope.h"
namespace uLang
{
/**
* Represents a function body or a nested scope within a function body.
*/
class CControlScope : public CLogicalScope, public CSharedMix
{
public:
CControlScope(CScope* Parent, CSemanticProgram& Program)
: CLogicalScope{EKind::ControlScope, Parent, Program}
{
}
//~ Begin CScope interface
virtual CSymbol GetScopeName() const override { return {}; }
//~ End CScope interface
virtual const CCaptureScope* AsCaptureScopeNullable() const { return nullptr; }
};
}