| 133 | } |
| 134 | |
| 135 | GDScriptDecomp::GlobalToken GDScriptDecomp_custom::get_global_token(int p_token) const { |
| 136 | int idx = p_token & TOKEN_MASK; |
| 137 | if (idx < 0 || idx >= tokens.size()) { |
| 138 | return G_TK_MAX; |
| 139 | } |
| 140 | return tokens[idx]; |
| 141 | } |
| 142 | |
| 143 | int GDScriptDecomp_custom::get_local_token_val(GDScriptDecomp::GlobalToken p_token) const { |
| 144 | for (int i = 0; i < tokens.size(); i++) { |
no test coverage detected