UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ScopedAccessLevelType.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2// uLang Compiler Public API
3
4#pragma once
5
8
9#define UE_API VERSECOMPILER_API
10
11namespace uLang
12{
13 class CScopedAccessLevelDefinition;
14 class CExprScopedAccessLevelDefinition;
15
19 // HACK! This is convoluted, but attributes need to be CClass types because the semantic attribute processing demands it right now
20 // HACK! CClass expects its associated definition to be a CClassDefinition type, so our CScopedAccessLevelDefinition also needs to be a CClassDefinition type
21 // HACK! Ordinarily, we could just use CClassDefinition directly without this extra child type, except the CClassDefinition linkage to the AST demands
22 // HACK! that the CExpr* type be CExprClassDefinition even though it ultimately relaxes to CExpressionBase.
40}
41
42#undef UE_API
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition SColorGradingComponentViewer.h:12
Definition SemanticClass.h:207
Definition Expression.h:2899
Definition SemanticScope.h:73
Definition ScopedAccessLevelType.h:24
UE_API void SetAstNode(CExprScopedAccessLevelDefinition *AstNode)
Definition ScopedAccessLevelType.cpp:22
bool _IsAnonymous
Definition ScopedAccessLevelType.h:29
virtual UE_API CUTF8String AsCodeRecursive(ETypeSyntaxPrecedence OuterPrecedence, TArray< const CFlowType * > &VisitedFlowTypes, bool bLinkable, ETypeStringFlag Flag) const override
Definition ScopedAccessLevelType.cpp:42
UE_API CExprScopedAccessLevelDefinition * GetAstNode() const
Definition ScopedAccessLevelType.cpp:27
UE_API void SetIrNode(CExprScopedAccessLevelDefinition *AstNode)
Definition ScopedAccessLevelType.cpp:32
UE_API CExprScopedAccessLevelDefinition * GetIrNode(bool bForce=false) const
Definition ScopedAccessLevelType.cpp:37
TArray< const CScope * > _Scopes
Definition ScopedAccessLevelType.h:28
Definition Array.h:51
Definition VVMEngineEnvironment.h:23
ETypeSyntaxPrecedence
Definition SemanticTypes.h:100
ETypeStringFlag
Definition SemanticTypes.h:121
Definition Optional.h:23