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 SourceTree; }
15// clang-format on
16
17namespace Molang::details {
18
19class CompiledExpressionWithSource : public ::Molang::details::CompiledExpressionWithContentScope {
20public:
21// member variables
22// NOLINTBEGIN
23#ifdef LL_PLAT_S
25#else // LL_PLAT_C
27#endif
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 CompiledExpressionWithSource& operator=(CompiledExpressionWithSource const&);
33 CompiledExpressionWithSource(CompiledExpressionWithSource const&);
34 CompiledExpressionWithSource();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ::std::unique_ptr<::Molang::details::IComplexExpression> clone() const /*override*/;
40
41 virtual void replaceArrayVariables(
42 ::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap
43 ) /*override*/;
44
45 virtual void validateArrayVariables() const /*override*/;
46
47 virtual ::ExpressionOp getOp() const /*override*/;
48
49 virtual bool needsToCompile() const /*override*/;
50
51 virtual ::Molang::details::SourceTree* getSource() /*override*/;
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCNAPI ::std::unique_ptr<::Molang::details::IComplexExpression> $clone() const;
58
59 MCNAPI void
60 $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap);
61
62 MCNAPI void $validateArrayVariables() const;
63
64 MCNAPI ::ExpressionOp $getOp() const;
65
66 MCNAPI bool $needsToCompile() const;
67
68 MCNAPI ::Molang::details::SourceTree* $getSource();
69
70
71 // NOLINTEND
72};
73
74} // namespace Molang::details
Definition HashedString.h:5
Definition CompiledExpressionWithContentScope.h:20
MCAPI void $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode > &dataMap)
MCAPI::Molang::details::SourceTree * $getSource()
MCAPI ::std::unique_ptr<::Molang::details::IComplexExpression > $clone() const
Definition ExpressionNode.h:28
Definition IComplexExpression.h:21
Definition SourceTree.h:14
Definition Alias.h:14