com.google.debugging.sourcemap.SourceMapConsumerV3.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
2com/google/debugging/sourcemap/SourceMapConsumerV3 lines Ljava/util/ArrayList; java/util/LinkedHashMap
extensions Ljava/util/Map;
4com/google/debugging/sourcemap/SourceMapObjectParser parse D(Ljava/lang/String;)Lcom/google/debugging/sourcemap/SourceMapObject;
e(Lcom/google/debugging/sourcemap/SourceMapObject;Lcom/google/debugging/sourcemap/SourceMapSupplier;)V
! " .com/google/debugging/sourcemap/SourceMapObject
getVersion ()I $ 6com/google/debugging/sourcemap/SourceMapParseException & ' ( makeConcatWithConstants (I)Ljava/lang/String;
# * + (Ljava/lang/String;)V
- . / getFile ()Ljava/lang/String;
1 2 3 4 5 java/lang/String isEmpty ()Z 7 File entry is empty
9 : ; getSections ()Ljava/util/List;
= > parseMetaMap
@ A " getLineCount C D E lineCount I
G H /
getSourceRoot J K L
sourceRoot Ljava/lang/String;
N O P
getSources ()[Ljava/lang/String; R S T sources [Ljava/lang/String;
V W P getSourcesContent Y Z T sourcesContent
\ ] P getNames _ ` T names b java/util/ArrayList
a d e (I)V
a
h i j
getExtensions ()Ljava/util/Map; l m n o p
java/util/Map putAll (Ljava/util/Map;)V r Acom/google/debugging/sourcemap/SourceMapConsumerV3$MappingBuilder
t u / getMappings
q w x I(Lcom/google/debugging/sourcemap/SourceMapConsumerV3;Ljava/lang/String;)V
q z { build } Kcom/google/debugging/sourcemap/SourceMapConsumerV3$DefaultSourceMapSupplier
| ? Invalid map format ? 3com/google/debugging/sourcemap/SourceMapGeneratorV3
? ? ? ? ? ? java/util/List iterator ()Ljava/util/Iterator; ? ? ? ? 5 java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object; ? /com/google/debugging/sourcemap/SourceMapSection
? ? ? / getSectionValue
? ? ? ? getSectionType ?()Lcom/google/debugging/sourcemap/SourceMapSection$SectionType; ? ? ? ? ? ;com/google/debugging/sourcemap/SourceMapSection$SectionType URL =Lcom/google/debugging/sourcemap/SourceMapSection$SectionType; ? ? ? ? ? 0com/google/debugging/sourcemap/SourceMapSupplier getSourceMap &(Ljava/lang/String;)Ljava/lang/String; ? ' ?
? ? ? " getLine
? ? ? " getColumn
? ? ? ? mergeMapSection (IILjava/lang/String;)V ? java/lang/StringBuilder
?
? ? ? ? appendTo +(Ljava/lang/Appendable;Ljava/lang/String;)V
? ? ? / toString
? + ? java/io/IOException ? ' ? )(Ljava/io/IOException;)Ljava/lang/String;
a ? ? " size
? ? ? ? ? $com/google/common/base/Preconditions
checkState (Z)V
a ? ? ? get (I)Ljava/lang/Object;
? ? ? getPreviousMapping A(I)Lcom/google/debugging/sourcemap/proto/Mapping$OriginalMapping;
a 2 ? 8com/google/debugging/sourcemap/SourceMapConsumerV3$Entry ? ? ? " getGeneratedColumn
? ? ? search (Ljava/util/ArrayList;III)I ?
unexpected:%s
? ? ? ? (ZLjava/lang/String;I)V ? ? ? ? ? Fcom/google/debugging/sourcemap/proto/Mapping$OriginalMapping$Precision EXACT HLcom/google/debugging/sourcemap/proto/Mapping$OriginalMapping$Precision;
? ? ? getOriginalMappingForEntry ?(Lcom/google/debugging/sourcemap/SourceMapConsumerV3$Entry;Lcom/google/debugging/sourcemap/proto/Mapping$OriginalMapping$Precision;)Lcom/google/debugging/sourcemap/proto/Mapping$OriginalMapping;
? ? ? ? ? java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; ? ? reverseSourceMapping
? ? createReverseMapping l ? ? ? &(Ljava/lang/Object;)Ljava/lang/Object;
? ; java/util/Collections emptyList
java/lang/Integer valueOf (I)Ljava/lang/Integer;
java/util/Collection
compareEntry (Ljava/util/ArrayList;II)I
#com/google/common/collect/Iterables getLast ((Ljava/lang/Iterable;)Ljava/lang/Object; ? ? APPROXIMATE_LINE ? " getSourceFileId