![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Toolchain.h>
| TOptional<TSRef<IAssemblerPass> > uLang::SToolchainParams::Assembler |
— Assembler --------------------------— The assembler is responsible both for code-gen and linking (resolving any symbols between language objects). Note that there may be runtime bindings that can't be resolved at this stage, but all uLang internal bindings should be validated and linked here.
| TOptional<TSRef<IIrGeneratorPass> > uLang::SToolchainParams::IrGenerator |
— IR (Intermediate Representation) ----— The IrGenerator creates an intermediate representation intended for lenient analysis and code generation.
| SToolchainInjections uLang::SToolchainParams::LayerInjections |
— API Layer Injections ------------—
| TOptional<TSRef<IParserPass> > uLang::SToolchainParams::Parser |
— Parser -----------------------------— The parser is responsible for ingesting a source file, parsing and tokenizing it, and generating an abstract syntax tree (Vst) for the rest of the compiler to consume. It should not need to worry about semantics, just syntax
| TSRefArray<IPostIrFilter> uLang::SToolchainParams::PostIrFilters |
— Post IR generation Filters ------------— This stage takes the generated IR, and performs operations on the result before passing along to the assembler.
| TSRefArray<IPostSemanticAnalysisFilter> uLang::SToolchainParams::PostSemanticAnalysisFilters |
— Post Semantic Analysis Filters ------------— This stage takes the semantically analyzed AST, and performs operations on the result before passing along to the IR generator.
| TSRefArray<IPostVstFilter> uLang::SToolchainParams::PostVstFilters |
— Post Vst Filters -------------------— The post Vst filters take an Vst, and transform it in any way it deems fit. Applications of this stage can include optimizers (operation reduction, constant folding, etc.), or metadata stripping or remapping. There can be as many filters as needed, and are called in array order, starting at 0. It is the loader's responsibility for establishing that order.
| TOptional<TSRef<ISemanticAnalyzerPass> > uLang::SToolchainParams::SemanticAnalyzer |
— Semantic Analyzer ---------------— The semantic analyzer consumes the generated and optimized VST, transforms it to an AST, and semantically analyzes the AST, annotating the AST with inferred types and other analysis products.