LeviLamina
Loading...
Searching...
No Matches
CompiledExpressionWithSource.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/molang/CompiledExpressionWithContentScope.h"
7#include "mc/util/molang/ExpressionOp.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12namespace Molang::details { class ExpressionNode; }
13namespace Molang::details { class IComplexExpression; }
14namespace Molang::details { class Program; }
15namespace Molang::details { class SourceTree; }
16// clang-format on
17
18namespace Molang::details {
19
20class CompiledExpressionWithSource : public ::Molang::details::CompiledExpressionWithContentScope {
21public:
22// member variables
23// NOLINTBEGIN
24#ifdef LL_PLAT_S
26#else // LL_PLAT_C
28#endif
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 CompiledExpressionWithSource& operator=(CompiledExpressionWithSource const&);
34 CompiledExpressionWithSource(CompiledExpressionWithSource const&);
35 CompiledExpressionWithSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ::std::unique_ptr<::Molang::details::IComplexExpression> clone() const /*override*/;
41
42 virtual void replaceArrayVariables(
43 ::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap
44 ) /*override*/;
45
46 virtual void validateArrayVariables() const /*override*/;
47
48 virtual ::ExpressionOp getOp() const /*override*/;
49
50 virtual bool needsToCompile() const /*override*/;
51
52 virtual ::Molang::details::SourceTree* getSource() /*override*/;
53
54 virtual ~CompiledExpressionWithSource() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
62 bool hasVariableAssignments,
64 );
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void*
71 $ctor(::Molang::details::Program program, bool hasVariableAssignments, ::Molang::details::SourceTree source);
72 // NOLINTEND
73
74public:
75 // virtual function thunks
76 // NOLINTBEGIN
77 MCNAPI ::std::unique_ptr<::Molang::details::IComplexExpression> $clone() const;
78
79 MCNAPI void
80 $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap);
81
82 MCNAPI void $validateArrayVariables() const;
83
84 MCNAPI ::ExpressionOp $getOp() const;
85
86 MCNAPI bool $needsToCompile() const;
87
88 MCNAPI ::Molang::details::SourceTree* $getSource();
89
90
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
99
100} // namespace Molang::details
Definition HashedString.h:5
Definition CompiledExpressionWithContentScope.h:20
MCAPI void $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode > &dataMap)
MCAPI CompiledExpressionWithSource(::Molang::details::Program program, bool hasVariableAssignments, ::Molang::details::SourceTree source)
MCAPI::Molang::details::SourceTree * $getSource()
MCAPI ::std::unique_ptr<::Molang::details::IComplexExpression > $clone() const
MCAPI void * $ctor(::Molang::details::Program program, bool hasVariableAssignments, ::Molang::details::SourceTree source)
Definition ExpressionNode.h:28
Definition IComplexExpression.h:21
Definition Program.h:13
Definition SourceTree.h:16
Definition Alias.h:14