| 141 | } |
| 142 | |
| 143 | int GDScriptDecomp_custom::get_local_token_val(GDScriptDecomp::GlobalToken p_token) const { |
| 144 | for (int i = 0; i < tokens.size(); i++) { |
| 145 | if (tokens[i] == p_token) { |
| 146 | return i; |
| 147 | } |
| 148 | } |
| 149 | return -1; |
| 150 | } |
| 151 | |
| 152 | GDScriptDecomp_custom::GDScriptDecomp_custom(Dictionary p_custom_def) { |
| 153 | bytecode_version = p_custom_def.get("bytecode_version", 0); |
no test coverage detected