diff --git a/src/main/java/org/jcnc/snow/common/Mode.java b/src/main/java/org/jcnc/snow/common/Mode.java new file mode 100644 index 0000000..f8ee663 --- /dev/null +++ b/src/main/java/org/jcnc/snow/common/Mode.java @@ -0,0 +1,20 @@ +package org.jcnc.snow.common; + +/** + * 程序的运行/调试模式枚举。 + *
This class is used to distinguish the behavior of the virtual machine in different states, with each mode corresponding to a different operational logic.
- */ -public enum VMMode { - /** - * Run Mode: The virtual machine executes instructions in the normal execution flow. - *In this mode, the virtual machine processes instructions and performs related calculations.
- */ - RUN, - - /** - * Debug Mode: The virtual machine outputs debug information during execution. - *This mode is used for debugging the virtual machine, allowing developers to view detailed information such as the execution state, local variables, and more.
- */ - DEBUG, -}