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 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
60 bool hasVariableAssignments,
62 );
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void*
69 $ctor(::Molang::details::Program program, bool hasVariableAssignments, ::Molang::details::SourceTree source);
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCNAPI ::std::unique_ptr<::Molang::details::IComplexExpression> $clone() const;
76
77 MCNAPI void
78 $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap);
79
80 MCNAPI void $validateArrayVariables() const;
81
82 MCNAPI ::ExpressionOp $getOp() const;
83
84 MCNAPI bool $needsToCompile() const;
85
86 MCNAPI ::Molang::details::SourceTree* $getSource();
87
88
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
97
98} // 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:15
Definition SourceTree.h:25
Definition Alias.h:14