LeviLamina
Loading...
Searching...
No Matches
SourceTree.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8struct MolangScriptArg;
9namespace Json { class Value; }
10namespace Molang::details { class ExpressionNode; }
11namespace Molang::details { class IComplexExpression; }
12// clang-format on
13
14namespace Molang::details {
15
16class SourceTree {
17public:
18// member variables
19// NOLINTBEGIN
20#ifdef LL_PLAT_S
22#else // LL_PLAT_C
24#endif
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 SourceTree& operator=(SourceTree const&);
35 SourceTree();
36
37public:
38 // member functions
39 // NOLINTBEGIN
41
43
44 MCNAPI SourceTree(::Json::Value const& value, ::MolangParseConfig const& config);
45
46 MCNAPI ::std::optional<::MolangScriptArg> getValueIfConstant() const;
47
48 MCNAPI ~SourceTree();
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static ::std::unique_ptr<::Molang::details::IComplexExpression> link(::Molang::details::SourceTree root);
55
56 MCNAPI static ::Molang::details::SourceTree parse(::std::string_view expression, ::MolangParseConfig const& config);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
63
65
66 MCNAPI_S void* $ctor(::Molang::details::ExpressionNode node, ::MolangParseConfig const& parseConfig);
67
68 MCNAPI void* $ctor(::Json::Value const& value, ::MolangParseConfig const& config);
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCNAPI void $dtor();
75 // NOLINTEND
76};
77
78} // namespace Molang::details
Definition Value.h:16
Definition ExpressionNode.h:28
Definition IComplexExpression.h:21
Definition SourceTree.h:16
MCAPI SourceTree(::Json::Value const &value, ::MolangParseConfig const &config)
MCAPI void * $ctor(::Molang::details::SourceTree const &)
MCAPI SourceTree(::Molang::details::SourceTree const &)
static MCAPI ::std::unique_ptr<::Molang::details::IComplexExpression > link(::Molang::details::SourceTree root)
MCAPI void * $ctor(::Json::Value const &value, ::MolangParseConfig const &config)
MCAPI ::std::optional<::MolangScriptArg > getValueIfConstant() const
MCAPI SourceTree(::Molang::details::SourceTree &&)
static MCAPI ::Molang::details::SourceTree parse(::std::string_view expression, ::MolangParseConfig const &config)
MCAPI void * $ctor(::Molang::details::SourceTree &&)
Definition MolangParseConfig.h:14
Definition MolangScriptArg.h:33
Definition Alias.h:14