Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAstNode
- CMemberDefinitions
- CAstPackage
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include | #include "uLang/Semantics/Expression.h" |
Syntax
class CAstPackage :
public uLang::CAstNode ,
public uLang::CMemberDefinitions
Remarks
Represents a package in the AST.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | _bAllowExperimental | ||
| bool | _bAllowNative | ||
| bool | _bTreatModulesAsImplicit | ||
| CAstCompilationUnit * | _CompilationUnit | ||
| TArray< const CAstPackage * > | _Dependencies | ||
| uint32_t | _EffectiveVerseVersion | ||
| CUTF8String | _Name | ||
| int32_t | _NumPersistentVars | Track the number of persistent values found on a per-package basis instead of across all packages. | |
| EPackageRole | _Role | ||
| CModulePart * | _RootModule | ||
| uint32_t | _UploadedAtFNVersion | This allows us to determine when a package was uploaded for a given Fortnite release version. | |
| TArray< const CAstPackage * > | _UsedDependencies | ||
| CUTF8String | _VersePath | ||
| EVerseScope | _VerseScope |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CAstPackage
(
const CUTF8String& Name, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanSeeDefinition
(
const CDefinition& Definition |
Determine if the definition originates from this package or any of our dependencies. |
Overridden from CAstNode
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | GetErrorDesc () |
Text methods. | |
| EAstNodeType | GetNodeType () |
||
| void | VisitChildren
(
SAstVisitor& Visitor |
Iterates over this AST node's direct children, calling Visitor.Visit for each child. | |
| void | VisitImmediates
(
SAstVisitor& Visitor |
Iterates over this AST node's immediate fields, calling Visitor.VisitImmediate for each immediate field. |