com.google.javascript.jscomp.CodeConsumer.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/javascript/jscomp/CodeConsumer statementNeedsEnded Z statementStarted sawFunction templateLitDepth I templateLitSubDepth
maybeEndStatement
! " java/lang/String isEmpty ()Z
$ % & charAt (I)C
( ) *
isWordChar (C)Z
, - . getLastChar ()C 0
2 3 4 append (Ljava/lang/String;)V
6 7 maybeInsertSpace
9 : ; indexOf (I)I
= > ? substring (II)Ljava/lang/String;
A B startNewLine
D : E (II)I
G H I length ()I
K > L (I)Ljava/lang/String;
N O 4 add Q { S }
U V maybeCutLine X ;
Z [ maybeLineBreak
] ^ appendBlockStart
` a endLine
c d e endBlock (Z)V
g h appendBlockEnd j ,
l m n endStatement (ZZ)V p :
r s t u e $com/google/common/base/Preconditions
checkState w `
y z " isInTemplateLiteral | ${
~ ? ? * java/lang/Character isLetter
? ? ? appendOp (Ljava/lang/String;Z)V
? ? ? ? ? /com/google/javascript/jscomp/base/JSCompDoubles
isPositive (D)Z
? ? ? ? ? java/lang/Double valueOf (D)Ljava/lang/Double;
r ? u ? (ZLjava/lang/Object;)V
? ? ? (D)Ljava/lang/String; ? .0E ? E
? ? ? replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; ? ^0\. ? .
? ? ? replaceFirst 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
? ? 4 addConstant@Y
? ? ? makeConcatWithConstants (JI)Ljava/lang/String;
? ? ? ? ? java/lang/Long toString (J)Ljava/lang/String; ?ԥ
? ? ? ? toHexString ? ? ? &(Ljava/lang/String;)Ljava/lang/String;
? ? ? ? L java/math/BigInteger ? ? ? ? *(Ljava/math/BigInteger;)Ljava/lang/String;
~ ? ? * isLetterOrDigit Code LineNumberTable LocalVariableTable this +Lcom/google/javascript/jscomp/CodeConsumer; startSourceMapping %(Lcom/google/javascript/rhino/Node;)V node "Lcom/google/javascript/rhino/Node; MethodParameters endSourceMapping
trackLicenses continueProcessing newcode Ljava/lang/String; c C startOfLine endOfLine
StackMapTable str RuntimeInvisibleAnnotations /Lcom/google/errorprone/annotations/ForOverride;
addIdentifier
identifier notePreferredLineBreak
beginBlock
shouldEndLine
listSeparator optionalListSeparator hasTrailingCommentOnSameLine
needSemiColon endFunction statementContext endClass
beginCaseBody endCaseBody beginTemplateLit beginTemplateLitSub endTemplateLitSub endTemplateLit op binOp addOp first prev addNumber &(DLcom/google/javascript/rhino/Node;)V x D n value J mantissa exp decValueString hexValueString addBigInt (Ljava/math/BigInteger;)V bi Ljava/math/BigInteger;
hexEncoded decimalEncoded ch shouldPreserveExtras %(Lcom/google/javascript/rhino/Node;)Z breakAfterBlockFor &(Lcom/google/javascript/rhino/Node;Z)Z endFile
SourceFile CodeConsumer.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; E 0x 0xn! n InnerClasses$ %java/lang/invoke/MethodHandles$Lookup& java/lang/invoke/MethodHandles Lookup! + ? \ *? *? *?
*? *? *? ? ? ! # $ % ) * ? ? ? ? ? ? 5 ? ? 1 ? ? ? ? ? ? ? ? ? ? 5 ? ? 8 ? ? ? ? ? ? ? ? ? ? 5 ? ? > ? ? ? ? ? ? ? ? " ? , ? ? E ? ? ? - . O 4 ? f ?*? +? ? ?+? #=? '? \? *? +? '? */? 1? 5/? *? +/? */? 1? "? '? *? +? '? *? 5>+
? 86? )? *+?