UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vsyntax_types.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7namespace vsyntax {
8 // Reserved keyword enum
11 {
12 constexpr const char* operator[](uint8_t res) const
13 {
14 constexpr const char* strings[] =
15 { "", "of", "if", "else", "upon", "where", "catch", "do", "then", "until", "return", "yield", "break", "continue", "at", "var", "set", "and", "or", "not", 0};
16 static_assert(sizeof(strings) / sizeof(char*) == res_max + 1, "scan_reserved string table must match res_t");
17 return strings[res];
18 }
19 };
20}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition vsyntax_types.h:7
res_t
Definition vsyntax_types.h:9
@ res_catch
Definition vsyntax_types.h:9
@ res_not
Definition vsyntax_types.h:9
@ res_or
Definition vsyntax_types.h:9
@ res_yield
Definition vsyntax_types.h:9
@ res_and
Definition vsyntax_types.h:9
@ res_of
Definition vsyntax_types.h:9
@ res_continue
Definition vsyntax_types.h:9
@ res_max
Definition vsyntax_types.h:9
@ res_at
Definition vsyntax_types.h:9
@ res_then
Definition vsyntax_types.h:9
@ res_break
Definition vsyntax_types.h:9
@ res_else
Definition vsyntax_types.h:9
@ res_none
Definition vsyntax_types.h:9
@ res_upon
Definition vsyntax_types.h:9
@ res_var
Definition vsyntax_types.h:9
@ res_until
Definition vsyntax_types.h:9
@ res_if
Definition vsyntax_types.h:9
@ res_where
Definition vsyntax_types.h:9
@ res_return
Definition vsyntax_types.h:9
@ res_do
Definition vsyntax_types.h:9
@ res_set
Definition vsyntax_types.h:9
Definition vsyntax_types.h:11
constexpr const char * operator[](uint8_t res) const
Definition vsyntax_types.h:12