LeviLamina
Loading...
Searching...
No Matches
MolangProgramBuildState.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // member variables
8 // NOLINTBEGIN
13 // NOLINTEND
14
15public:
16 // prevent constructor by default
20
21public:
22 // member functions
23 // NOLINTBEGIN
24 MCAPI uint64 allocateInstruction();
25
26 MCAPI void insertJumpWithMaddAtIndex(
27 uint64 instructionIndexToPutThisInstruction,
28 uint64 instructionToJumpTo,
29 float mulValue,
30 float addValue
31 );
32
33 MCAPI uint64 numInstructions() const;
34
35 MCAPI void popForEachScope(uint64 instructionIndex);
36
37 MCAPI void popLoopScope(uint64 instructionIndex);
38
39 MCAPI void pushLoopScope(
40 uint64 loopScopeInitializationInstructionIndex,
41 uint64 loopRepeatLogicInstructionIndex,
42 uint64 loopCleanupInstructionIndex,
43 uint64 nextStatementIndex
44 );
45
46 MCAPI void pushReturnValue();
47
48 MCAPI void pushValue(float value);
49
50 MCAPI void setReturnValue(float value);
51
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60};
Definition MolangProgramBuildState.h:5
Definition Alias.h:14