Returns a name for the token. If Rhino is compiled with certain hardcoded debugging flags in this file, it calls #typeToName; otherwise it returns a string whose value is the token number.
(int token)
| 254 | * token number. |
| 255 | */ |
| 256 | public static String name(int token) { |
| 257 | if (!printNames) { |
| 258 | return String.valueOf(token); |
| 259 | } |
| 260 | return typeToName(token); |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * Always returns a human-readable string for the token name. For instance, {@link #FINALLY} has |
no test coverage detected