All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.ReplaceIdGenerators$ReplaceGenerators.class Maven / Gradle / Ivy

Go to download

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!
????7r	Bcom/google/javascript/jscomp/ReplaceIdGenerators$ReplaceGeneratorsthis$02Lcom/google/javascript/jscomp/ReplaceIdGenerators;
	
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V
 com/google/javascript/rhino/NodeisCall()Z
isTaggedTemplateLit
%com/google/javascript/jscomp/NodeUtil#getCallTargetResolvingIndirectCallsF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
getQualifiedName()Ljava/lang/String;	!"#$%0com/google/javascript/jscomp/ReplaceIdGeneratorsnameGeneratorsLjava/util/Map;'()*+
java/util/Mapget&(Ljava/lang/Object;)Ljava/lang/Object;-=com/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier
/012*com/google/javascript/jscomp/NodeTraversalinGlobalHoistScope,456getRenameStrategyC()Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;	89:;<?com/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategyINCONSISTENTALcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;	!>?@compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	!BCDNON_GLOBAL_ID_GENERATOR_CALL-Lcom/google/javascript/jscomp/DiagnosticType;Fjava/lang/String
HIJKL$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
NOPQR-com/google/javascript/jscomp/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V
TUVgetAncestors5()Lcom/google/javascript/rhino/Node$AncestorIterable;
XYZ[\1com/google/javascript/rhino/Node$AncestorIterableiterator()Ljava/util/Iterator;^_`ajava/util/IteratorhasNext^cdenext()Ljava/lang/Object;
ghiisControlStructure%(Lcom/google/javascript/rhino/Node;)Z	!klDCONDITIONAL_ID_GENERATOR_CALL
nopmaybeReplaceCall?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;)V
rspmaybeReplaceTaggedTemplateLit
uvwgetLastChild$()Lcom/google/javascript/rhino/Node;
yz
isTemplateLit|java/lang/IllegalStateException
{	
?hasOneChild
??w
getFirstChild
??getCookedString	!??D"INVALID_TEMPLATE_LITERAL_PARAMETER
???getObfuscatedName?(Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;Ljava/lang/String;)Ljava/lang/String;
?????com/google/javascript/rhino/IRstring6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
???replaceWith%(Lcom/google/javascript/rhino/Node;)V
/??reportCodeChange
???wtemplateLiteral
??isTemplateLitString
????templateLiteralStringH(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
??srcrefIfMissing
???addChildToBack
??wdetach
???templateLiteralSubstitution
??wgetNext
/???
??wgetSecondChild	!??DINVALID_GENERATOR_PARAMETER
??isStringLit
??	getString
??isObjectLit
??isMemberFunctionDef	!??D*SHORTHAND_FUNCTION_NOT_SUPPORTED_IN_ID_GEN
??isComputedProp	!??D%COMPUTED_PROP_NOT_SUPPORTED_IN_ID_GEN
???	setString(Ljava/lang/String;)V	???QUOTED_PROP'Lcom/google/javascript/rhino/Node$Prop;
???putBooleanProp+(Lcom/google/javascript/rhino/Node$Prop;Z)V	!???templateLiteralsAreTranspiledZ
??isName
???
findTtlVarr(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
??wgetFirstFirstChild
??
isArrayLit?bad transpiled structure
{??
???
getChildCount()I
/???getScope&()Lcom/google/javascript/jscomp/Scope;
?????"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar; com/google/javascript/jscomp/Var
wgetNode
w	getParent
	
isVar

isScript>The AST is normalized so there should only be one name per var
$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V!$jscomp$createTemplateTagFirstArg
matchesName(Ljava/lang/String;)Z	!CREATE_TEMPLATE_TAG_FIRST_ARG+Lcom/google/javascript/rhino/QualifiedName;
!"#$i)com/google/javascript/rhino/QualifiedNamematches	!&'%idGeneratorMaps
!)*+getIdForGeneratorNodeI(ZLcom/google/javascript/rhino/Node;Ljava/lang/String;)Ljava/lang/String;	8-.<
CONSISTENT	!01%consistNameMap,345getName8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;'789put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;5(Lcom/google/javascript/jscomp/ReplaceIdGenerators;)VCodeLineNumberTableLocalVariableTablethisDLcom/google/javascript/jscomp/ReplaceIdGenerators$ReplaceGenerators;MethodParametersvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vancestor"Lcom/google/javascript/rhino/Node;t,Lcom/google/javascript/jscomp/NodeTraversal;nparentqnamecallNameLjava/lang/String;
nameGenerator?Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;
StackMapTablecookedrenamechildnewTemplateLitargkeyoriginalNameparamttlVarttlFunctionCallparamsArrayLiteralname
ttlVarNamecallNodecallExprRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;entryididGeneratorMap
instanceIdLocalVariableTypeTable5Ljava/util/Map;
SourceFileReplaceIdGenerators.javaNestHostInnerClassesReplaceGeneratorsAbstractPostOrderCallbackNameSupplierRenameStrategyAncestorIterablep%com/google/javascript/rhino/Node$PropProp :;4
*+?*??<V=
>?@AB;?	?,?
?,???,?:?:*?? ?&?,:??+?.?&?3?7?*??=,?A?E?G?M??3?7?C,?S?W:?]?0?b?:?f?*??=,?j?E?G?M????,?
?*+,?m?
*+,?q?<VYZ]^_/`4a5d>eIg^h_kll?m?o?p?r?u?v?x?z=R?CD?>??EF?GD?HD?ID?JK/?LMN?%E,)?^3?	@
EGHsp;3
?,?t:??x??{Y?}??~?E????:?*??=,???E?G?M?*-??:,????+??????:??:?m???F??:?*??=,???E?G?M?*-??:			???????????????????:?????+???<? ~???#?-?2?G?H?U?^?b?e?j?v?~?????????????????????????????????=z-5OKU
PK?9OK?PK	qoQDj?RD?>??EF?GD?JK?LM?SDN+
??,E???.E? ?	?@EGJLop;,??:?*??=,???E?G?M?????#*-????:,????+?????x?O?~?G????:?*??=,???E?G?M?*-??:,????+???v?™???:?i?ř*??=,???E?G?M??˙*??=,???E?G?M?*-????:????????:?????W,??+????*??ݙ????*+??:?*??=,???E?G?M???:??:???
?{Y?????6????:	*-	??:
,
????+??+????W?:??:		?(	??:
*-
??:	??	??:	???+???*??=,???E?G?M?<?:???#?+?;?D?H?[?e?j???????????????????????????????????%?,?>?G?L?a?b?i?p?}????????????????????????????????????=?;
PK?
PKe7OK?PK?kTD?&UK	?PK
?UK
?PK?*VD	G?WDi?XDp?YD>?EFGDJKLM
SDN>?#'?6E??"?)?5?	;??)?@EGJL??;Cu,??N+??-????:?:????????~???:?
????:???? ?	???<B????/?13<?FNPW	gms=Ru>?uEFuSDpZK`[DYHDF/\DW]DN?/E??@	ES^_??;~	?:*??%,?&?':-?3?7??+?(:-?3?,?C*??/,?&?':?&?E:?-?2:?6W?-?2:?6W?<>).:LZ_kw z!?#?$=\	L+`%?>??aD?JK?LM?ZK?PK?b%.gcKdL+`e?beN?%E'@?PE@aJLZfgh!i2!j/k	,!l
8!m@Xnoq@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy