Skip to main content

jvm_assembler/program/
legacy.rs

1use crate::program::*;
2
3/// Compatibility layer: legacy JVM instruction representation
4#[derive(Debug, Clone)]
5pub struct JvmInstructionCompat {
6    /// Opcode name
7    pub opcode: String,
8    /// List of operands as strings
9    pub operands: Vec<String>,
10}
11
12/// Compatibility layer: legacy JVM class representation
13#[derive(Debug, Clone)]
14pub struct JvmClassCompat {
15    /// Class name
16    pub name: String,
17    /// List of methods in the class
18    pub methods: Vec<JvmMethod>,
19}