| 2612 | } |
| 2613 | |
| 2614 | TypedArray<Dictionary> GDScriptDecomp::get_all_decomp_versions_json() { |
| 2615 | TypedArray<Dictionary> ret; |
| 2616 | auto versions = GDScriptDecompVersion::get_decomp_versions(true, 0); |
| 2617 | for (int i = 0; i < versions.size(); i++) { |
| 2618 | Ref<GDScriptDecomp> decomp = versions[i].create_decomp(); |
| 2619 | if (decomp.is_null()) { |
| 2620 | continue; |
| 2621 | } |
| 2622 | ret.append(decomp->to_json()); |
| 2623 | } |
| 2624 | return ret; |
| 2625 | } |
| 2626 | |
| 2627 | String GDScriptDecomp::get_token_identifier(GlobalToken p_token) { |
| 2628 | if ((int)p_token <= (int)G_TK_MAX && (int)p_token >= 0) { |
nothing calls this directly
no test coverage detected