| 1 | package org.mozilla.javascript.drivers; |
| 2 | |
| 3 | import java.lang.annotation.Retention; |
| 4 | import java.lang.annotation.RetentionPolicy; |
| 5 | import java.lang.annotation.Target; |
| 6 | |
| 7 | import static java.lang.annotation.ElementType.TYPE; |
| 8 | |
| 9 | /** |
| 10 | * Intended to be used as an optional annotation for subclasses |
| 11 | * of {@link org.mozilla.javascript.drivers.ScriptTestsBase}. |
| 12 | * Sets the language version of test's script execution context. |
| 13 | */ |
| 14 | @Target(TYPE) |
| 15 | @Retention(RetentionPolicy.RUNTIME) |
| 16 | public @interface LanguageVersion { |
| 17 | int value(); |
| 18 | } |