com.google.javascript.jscomp.Es6TemplateLiterals.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!
???? 72
java/lang/Object ()V
0com/google/javascript/jscomp/Es6TemplateLiterals compiler /Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler createAstFactory +()Lcom/google/javascript/jscomp/AstFactory;
astFactory )Lcom/google/javascript/jscomp/AstFactory;
getTranspilationNamespace +()Lcom/google/javascript/rhino/StaticScope; namespace )Lcom/google/javascript/rhino/StaticScope;
! " # $ com/google/javascript/rhino/Node
getChildCount ()I & ""
( ) * + , 'com/google/javascript/jscomp/AstFactory createString 6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
. / 0 replaceWith %(Lcom/google/javascript/rhino/Node;)V
2 3 4 removeFirstChild $()Lcom/google/javascript/rhino/Node;
6 7 8 isTemplateLitString ()Z
: ; < getCookedString ()Ljava/lang/String;
> ? @ A B $com/google/common/base/Preconditions
checkState (Z)V
( D E F createAdd h(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
H I J K 8 java/lang/String isEmpty
M N 4 getSecondChild
P Q 4 detach
S T U srcrefTreeIfMissing F(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
W X Y Z *com/google/javascript/jscomp/NodeTraversal reportCodeChange
\ ] 4 getLastChild
_ ` U createCookedStringArray
b c d cookedAndRawStringsSame %(Lcom/google/javascript/rhino/Node;)Z f !$jscomp.createTemplateTagFirstArg
( h i j createQName _(Lcom/google/javascript/rhino/StaticScope;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
( l m n type R(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;
p q 4 cloneTree
( s t u
createCall ?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AstFactory$Type;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
w x U createRawStringArray z ($jscomp.createTemplateTagFirstArgWithRaw
| } ~ ? %com/google/javascript/rhino/JSDocInfo builder 1()Lcom/google/javascript/rhino/JSDocInfo$Builder;
? ? ? ? 8 -com/google/javascript/rhino/JSDocInfo$Builder recordNoInline
? ? ? ? build )()Lcom/google/javascript/rhino/JSDocInfo;
W ? ? ? getInput .()Lcom/google/javascript/jscomp/CompilerInput;
? ? ? getUniqueIdSupplier 1()Lcom/google/javascript/jscomp/UniqueIdSupplier;
? ? ? ? ? -com/google/javascript/jscomp/UniqueIdSupplier getUniqueId @(Lcom/google/javascript/jscomp/CompilerInput;)Ljava/lang/String; ? ? ? makeConcatWithConstants &(Ljava/lang/String;)Ljava/lang/String;
( ? ? ? createSingleVarNameDeclaration X(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
? ? ? setJSDocInfo K(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
? ? 0 insertBefore
W ? Z 0
? ? 4
getFirstChild
? ? 4 cloneNode
? ? 0 addChildToBack
? ? 4 getNext ? ? ? FREE_CALL 'Lcom/google/javascript/rhino/Node$Prop;
? ? 8 isGetProp
? ? ? putBooleanProp +(Lcom/google/javascript/rhino/Node$Prop;Z)V
( ? ? ? createArraylit G([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
? ? < getRawString
( ? ? 8 isAddingColors
? ? ? getColorRegistry 5()Lcom/google/javascript/jscomp/colors/ColorRegistry; ? ? ? ? ? 2com/google/javascript/jscomp/colors/StandardColors I_TEMPLATE_ARRAY_ID -Lcom/google/javascript/jscomp/colors/ColorId;
? ? ? ? ? 1com/google/javascript/jscomp/colors/ColorRegistry get Z(Lcom/google/javascript/jscomp/colors/ColorId;)Lcom/google/javascript/jscomp/colors/Color;
? ? ? setColor O(Lcom/google/javascript/jscomp/colors/Color;)Lcom/google/javascript/rhino/Node;
( ? ? ? createNumber %(D)Lcom/google/javascript/rhino/Node;
( ? ? U
createVoid
H ? ? ? equals (Ljava/lang/Object;)Z TEMPLATELIT_VAR Ljava/lang/String;
ConstantValue ? $jscomp$templatelit$ 2(Lcom/google/javascript/jscomp/AbstractCompiler;)V Code LineNumberTable LocalVariableTable this 2Lcom/google/javascript/jscomp/Es6TemplateLiterals; MethodParameters visitTemplateLiteral Q(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V child "Lcom/google/javascript/rhino/Node; i I add first firstStr t ,Lcom/google/javascript/jscomp/NodeTraversal; n length
StackMapTable visitTaggedTemplateLiteral s(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V callTemplateTagArgCreator raw templateLit
siteObject jsDocInfoBuilder /Lcom/google/javascript/rhino/JSDocInfo$Builder; info 'Lcom/google/javascript/rhino/JSDocInfo; input ,Lcom/google/javascript/jscomp/CompilerInput; uniqueId tagFnFirstArgDeclaration
tagFnFirstArg call *com/google/javascript/jscomp/CompilerInput %com/google/javascript/rhino/Node$Prop array templateArrayType +Lcom/google/javascript/jscomp/colors/Color; )com/google/javascript/jscomp/colors/Color
SourceFile Es6TemplateLiterals.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;& $jscomp$templatelit$ InnerClasses) ,com/google/javascript/jscomp/AstFactory$Type Type Builder Prop. %java/lang/invoke/MethodHandles$Lookup0 java/lang/invoke/MethodHandles Lookup ? ? ? ? ? ? a *? *+? *+?
? **? ? ? ? ? % &