// 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; } }; }