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
21public:
22 // member variables
23 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::std::unique_ptr<::Molang::details::IComplexExpression> clone() const /*override*/;
38
39 // vIndex: 7
40 virtual void replaceArrayVariables(
41 ::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap
42 ) /*override*/;
43
44 // vIndex: 8
45 virtual void validateArrayVariables() const /*override*/;
46
47 // vIndex: 12
48 virtual ::ExpressionOp getOp() const /*override*/;
49
50 // vIndex: 13
51 virtual bool needsToCompile() const /*override*/;
52
53 // vIndex: 15
54 virtual ::Molang::details::SourceTree* getSource() /*override*/;
55
56 // vIndex: 0
57 virtual ~CompiledExpressionWithSource() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
65 bool hasVariableAssignments,
67 );
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCNAPI void*
74 $ctor(::Molang::details::Program program, bool hasVariableAssignments, ::Molang::details::SourceTree source);
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCNAPI ::std::unique_ptr<::Molang::details::IComplexExpression> $clone() const;
81
82 MCNAPI void
83 $replaceArrayVariables(::std::unordered_map<::HashedString, ::Molang::details::ExpressionNode>& dataMap);
84
85 MCNAPI void $validateArrayVariables() const;
86
87 MCNAPI ::ExpressionOp $getOp() const;
88
89 MCNAPI bool $needsToCompile() const;
90
91 MCNAPI ::Molang::details::SourceTree* $getSource();
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
100
101} // namespace Molang::details
Definition ExpressionNode.h:29
Definition HashedString.h:5
Definition CompiledExpressionWithContentScope.h:20
Definition CompiledExpressionWithSource.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 Program.h:13
Definition SourceTree.h:16
Definition Alias.h:14