LeviLamina
Loading...
Searching...
No Matches
MolangProgramBuildState.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace brstd { struct source_location; }
8// clang-format on
9
10namespace Molang::details {
11
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI uint64 allocateInstruction();
31
33 uint64 instructionIndexToPutThisInstruction,
34 uint64 instructionToJumpTo,
35 float mulValue,
36 float addValue,
38 );
39
40 MCNAPI uint64 numInstructions() const;
41
42 MCNAPI void popForEachScope(uint64 instructionIndex);
43
44 MCNAPI void popLoopScope(uint64 instructionIndex);
45
46 MCNAPI void pushLoopScope(
47 uint64 loopScopeInitializationInstructionIndex,
48 uint64 loopRepeatLogicInstructionIndex,
49 uint64 loopCleanupInstructionIndex,
50 uint64 nextStatementIndex,
52 );
53
55
56 MCNAPI void pushValue(float value, ::brstd::source_location source);
57
58 MCNAPI void setReturnValue(float value, ::brstd::source_location source);
59
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace Molang::details
Definition MolangProgramBuildState.h:12
MCAPI void popLoopScope(uint64 instructionIndex)
MCAPI void popForEachScope(uint64 instructionIndex)
MCAPI void insertJumpWithMaddAtIndex(uint64 instructionIndexToPutThisInstruction, uint64 instructionToJumpTo, float mulValue, float addValue, ::brstd::source_location source)
MCAPI void pushValue(float value, ::brstd::source_location source)
MCAPI void setReturnValue(float value, ::brstd::source_location source)
MCAPI void pushLoopScope(uint64 loopScopeInitializationInstructionIndex, uint64 loopRepeatLogicInstructionIndex, uint64 loopCleanupInstructionIndex, uint64 nextStatementIndex, ::brstd::source_location source)
MCAPI void pushReturnValue(::brstd::source_location source)
Definition source_location.h:7
Definition Alias.h:14