com.google.javascript.jscomp.transpile.TranspileResult.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
Closure Compiler is a JavaScript optimizing compiler. It parses your
JavaScript, analyzes it, removes dead code and rewrites and minimizes
what's left. It also checks syntax, variable references, and types, and
warns about common JavaScript pitfalls. It is used in many of Google's
JavaScript apps, including Gmail, Google Web Search, Google Maps, and
Google Docs.
The newest version!
???? 7 ?
java/lang/Object ()V
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; java/net/URI 6com/google/javascript/jscomp/transpile/TranspileResult path Ljava/net/URI; java/lang/String original Ljava/lang/String;
transpiled sourceMap
" # $ isEmpty ()Z & ' ( makeConcatWithConstants 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
* + G(Ljava/net/URI;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V - . / ESCAPER "Lcom/google/common/escape/Escaper;
1 2 3 4 5 com/google/common/escape/Escaper escape &(Ljava/lang/String;)Ljava/lang/String; & 8
: ; < = > !com/google/common/io/BaseEncoding base64 %()Lcom/google/common/io/BaseEncoding; @ A B C D !java/nio/charset/StandardCharsets UTF_8 Ljava/nio/charset/Charset;
F G H getBytes (Ljava/nio/charset/Charset;)[B
: J K L encode ([B)Ljava/lang/String; &
O P Q equals (Ljava/lang/Object;)Z
O
T U V W X java/util/Objects hash ([Ljava/lang/Object;)I Z DTranspileResut{path=%s, original=%s, transpiled=%s, sourceMapURL=%s}
\ ] ^ format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ` $com/google/common/net/PercentEscaper b -_.*
_ d e (Ljava/lang/String;Z)V Code LineNumberTable LocalVariableTable this 8Lcom/google/javascript/jscomp/transpile/TranspileResult; MethodParameters ()Ljava/net/URI; ()Ljava/lang/String; embedSourcemapUrl L(Ljava/lang/String;)Lcom/google/javascript/jscomp/transpile/TranspileResult; url embedded
StackMapTable embedSourcemap :()Lcom/google/javascript/jscomp/transpile/TranspileResult; embedSourcemapBase64
wasTranspiled other Ljava/lang/Object; hashCode ()I toString
SourceFile TranspileResult.java BootstrapMethods ?
? ? ? ' ? $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; ?
//# sourceMappingURL=
?
//# sourceMappingURL=data:,
? 6
//# sourceMappingURL=data:application/json;base64,
InnerClasses ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup 1 . /
+ f ? 2*? *+? ?
? *,? ? ? *-? ? ? *? ? ? ? g ' ( ) * % + 1 , h 4 2 i j 2 2 2 2 k l f / *? ? g / h i j m f / *? ? g 8 h i j m f / *? ? g <