LeviLamina
Loading...
Searching...
No Matches
IPrinter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Scripting { struct BaseError; }
8namespace Scripting { struct ContextId; }
9// clang-format on
10
11namespace Scripting {
12
13class IPrinter {
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 // vIndex: 0
18 virtual ~IPrinter() = default;
19
20 // vIndex: 1
21 virtual void onInfo(::Scripting::ContextId, ::std::string_view) const;
22
23 // vIndex: 2
24 virtual void onWarn(::Scripting::ContextId, ::std::string_view) const;
25
26 // vIndex: 3
27 virtual void onError(::Scripting::ContextId, ::std::string_view) const;
28
29 // vIndex: 4
30 virtual void onException(::Scripting::ContextId, ::Scripting::BaseError const&, ::entt::meta_any const&) const;
31
32 // vIndex: 5
33 virtual bool
34 shouldPrintException(::Scripting::ContextId, ::Scripting::BaseError const&, ::entt::meta_any const&) const;
35
36 // vIndex: 6
37 virtual void
38 onPromiseRejection(::Scripting::ContextId, ::Scripting::BaseError const&, ::entt::meta_any const&, bool) const;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCFOLD void $onInfo(::Scripting::ContextId, ::std::string_view) const;
45
46 MCFOLD void $onWarn(::Scripting::ContextId, ::std::string_view) const;
47
48 MCFOLD void $onError(::Scripting::ContextId, ::std::string_view) const;
49
50 MCFOLD bool
51 $shouldPrintException(::Scripting::ContextId, ::Scripting::BaseError const&, ::entt::meta_any const&) const;
52 // NOLINTEND
53};
54
55} // namespace Scripting
Definition IPrinter.h:13
Definition BaseError.h:12
Definition ContextId.h:7