Framework for printing abridged manual sections in response to syntactic mistakes

This commit is contained in:
2026-03-26 16:17:06 -04:00
parent 93b396578f
commit 2bb8baac4c
12 changed files with 395 additions and 217 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include "Containers/Set.h"
class WingManual
{
public:
enum class Section
{
HandlerHelp,
Paths,
Types,
FunctionArguments,
IdentifierSanitization,
Whitespace,
MaterialEditing,
ImportantCommands,
};
static TSet<Section> AllSections();
static void PrintHandlerPrototype(UClass *Handler);
static void PrintHandlerArguments(UClass *Handler);
static void PrintHandlerDescription(UClass *Handler);
static void PrintHandlerHelp(UClass *Handler);
static void PrintManual(TSet<Section> Sections, UClass *Handler, bool Abridged);
};