com.google.javascript.jscomp.LightweightMessageFormatter$LineNumberingFormatter.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 q
java/lang/Object ()V
#com/google/javascript/jscomp/Region getSourceExcerpt ()Ljava/lang/String;
java/lang/String isEmpty ()Z getEndingLineNumber ()I
java/lang/Integer toString (I)Ljava/lang/String;
length ! java/lang/StringBuilder
# $ (I)V
& ' ( indexOf (II)I * + getBeginningLineNumber
- . substring
1 . 2 (II)Ljava/lang/String;
1 5
7 8 9 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ;
= > repeat
@ 8 A (I)Ljava/lang/StringBuilder; C |
E 8 F (C)Ljava/lang/StringBuilder;
H J Ocom/google/javascript/jscomp/LightweightMessageFormatter$LineNumberingFormatter L Ccom/google/javascript/jscomp/SourceExcerptProvider$ExcerptFormatter Code LineNumberTable LocalVariableTable this QLcom/google/javascript/jscomp/LightweightMessageFormatter$LineNumberingFormatter;
formatLine '(Ljava/lang/String;I)Ljava/lang/String; line Ljava/lang/String;
lineNumber I MethodParameters formatRegion 9(Lcom/google/javascript/jscomp/Region;)Ljava/lang/String; spaces region %Lcom/google/javascript/jscomp/Region; code numberLength builder Ljava/lang/StringBuilder; start end
StackMapTable RuntimeVisibleTypeAnnotations #Lorg/jspecify/annotations/Nullable;
SourceFile LightweightMessageFormatter.java NestHost k 8com/google/javascript/jscomp/LightweightMessageFormatter InnerClasses LineNumberingFormatter o 2com/google/javascript/jscomp/SourceExcerptProvider ExcerptFormatter I K M / *? ? N . O P Q R S M @ +? N 1 O P Q T U V W X T V Y Z M (
?+? ?+? M,?
? ?+? ? ? >? Y,? h? ":6,
? %6+? ) 6? ?? !,? ,:?
? ? /d? 0?,? 3:4? 6W? ? d6 : ?