diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java b/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java index 6e316b7b32..6d430ff4ab 100644 --- a/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java +++ b/src/main/java/com/google/devtools/build/lib/skylarkinterface/SkylarkValue.java @@ -41,18 +41,6 @@ public interface SkylarkValue { void repr(SkylarkPrinter printer); /** - * Print a legacy representation of object x. - * - * <p>By default dispatches to the {@code repr} method. Should be called instead of {@code repr} - * if --incompatible_descriptive_string_representations=false is used. - * - * @param printer an instance of a printer to be used for formatting nested values - */ - default void reprLegacy(SkylarkPrinter printer) { - repr(printer); - } - - /** * Print an informal, human-readable representation of the value. * * <p>By default dispatches to the {@code repr} method. @@ -62,15 +50,4 @@ public interface SkylarkValue { default void str(SkylarkPrinter printer) { repr(printer); } - - /** - * Print a legacy informal, human-readable representation of the value. - * - * <p>By default dispatches to the {@code reprLegacy} method. - * - * @param printer a printer to be used for formatting nested values. - */ - default void strLegacy(SkylarkPrinter printer) { - reprLegacy(printer); - } } |