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
17public:
18 // member variables
19 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 SourceTree& operator=(SourceTree const&);
31 SourceTree();
32
33public:
34 // member functions
35 // NOLINTBEGIN
37
39
41
42 MCNAPI SourceTree(::Json::Value const& value, ::MolangParseConfig const& config);
43
44 MCNAPI ::std::optional<::MolangScriptArg> getValueIfConstant() const;
45
46 MCNAPI ~SourceTree();
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI static ::std::unique_ptr<::Molang::details::IComplexExpression> link(::Molang::details::SourceTree root);
53
54 MCNAPI static ::Molang::details::SourceTree parse(::std::string_view expression, ::MolangParseConfig const& config);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
61
63
64 MCNAPI void* $ctor(::Molang::details::ExpressionNode node, ::MolangParseConfig const& parseConfig);
65
66 MCNAPI void* $ctor(::Json::Value const& value, ::MolangParseConfig const& config);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74};
75
76} // namespace Molang::details
Definition ExpressionNode.h:29
Definition Value.h:16
Definition ExpressionNode.h:26
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 SourceTree(::Molang::details::ExpressionNode node, ::MolangParseConfig const &parseConfig)
MCAPI void * $ctor(::Molang::details::ExpressionNode node, ::MolangParseConfig const &parseConfig)
MCAPI void * $ctor(::Molang::details::SourceTree &&)
Definition MolangParseConfig.h:14
Definition MolangScriptArg.h:33
Definition Alias.h:14