Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/CScope
Description
Returns whether some definition is accessible from this scope. When checking accessibility, you probably want to use CDefinition::IsAccessibleFrom instead of this.
| Name | CanAccess |
| Type | function |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/SemanticScope.h |
| Include Path | #include "uLang/Semantics/SemanticScope.h" |
| Source | /Engine/Source/Runtime/VerseCompiler/Private/uLang/Semantics/SemanticScope.cpp |
bool CanAccess
(
const CDefinition & Definition,
const SAccessLevel & DefinitionAccessLevel
) const