neo-decompiler 0.10.1

Neo N3 NEF decompiler: parse, disassemble, lift bytecode to high-level pseudocode and C# skeletons, with a CLI, JSON reports, and optional WebAssembly bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Return the index of the next non-empty, non-comment line at or after `start`.
pub(super) fn next_code_line(statements: &[String], start: usize) -> Option<usize> {
    statements
        .iter()
        .enumerate()
        .skip(start)
        .find(|(_, stmt)| {
            let trimmed = stmt.trim();
            !trimmed.is_empty() && !trimmed.starts_with("//")
        })
        .map(|(i, _)| i)
}