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
12struct MolangProgramBuildState {
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 MolangProgramBuildState& operator=(MolangProgramBuildState const&);
24 MolangProgramBuildState(MolangProgramBuildState const&);
25 MolangProgramBuildState();
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 void popForEachScope(uint64 instructionIndex);
41
42 MCNAPI void popLoopScope(uint64 instructionIndex);
43
44 MCNAPI void pushLoopScope(
45 uint64 loopScopeInitializationInstructionIndex,
46 uint64 loopRepeatLogicInstructionIndex,
47 uint64 loopCleanupInstructionIndex,
48 uint64 nextStatementIndex,
50 );
51
53
54 MCNAPI void pushValue(float value, ::brstd::source_location);
55
56 MCNAPI void setReturnValue(float value, ::brstd::source_location);
57
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66};
67
68} // namespace Molang::details
MCAPI void pushValue(float value, ::brstd::source_location)
MCAPI void popLoopScope(uint64 instructionIndex)
MCAPI void popForEachScope(uint64 instructionIndex)
MCAPI void setReturnValue(float value, ::brstd::source_location)
MCAPI void insertJumpWithMaddAtIndex(uint64 instructionIndexToPutThisInstruction, uint64 instructionToJumpTo, float mulValue, float addValue, ::brstd::source_location)
MCAPI void pushReturnValue(::brstd::source_location)
MCAPI void pushLoopScope(uint64 loopScopeInitializationInstructionIndex, uint64 loopRepeatLogicInstructionIndex, uint64 loopCleanupInstructionIndex, uint64 nextStatementIndex, ::brstd::source_location)
Definition source_location.h:7
Definition Alias.h:14