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

com.google.javascript.jscomp.ReplaceIdGenerators.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!
????7b
java/lang/Object()V		
0com/google/javascript/jscomp/ReplaceIdGeneratorscompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	templateLiteralsAreTranspiledZ	generatePseudoNames	xidHashFunction/Lcom/google/javascript/jscomp/Xid$HashFunction;java/util/LinkedHashMap
	nameGeneratorsLjava/util/Map;	 !idGeneratorMaps	#$consistNameMap
&'()**com/google/javascript/jscomp/IdMappingUtilparseSerializedIdMappings#(Ljava/lang/String;)Ljava/util/Map;	,-previousMap/0123
java/util/MapentrySet()Ljava/util/Set;56789
java/util/Setiterator()Ljava/util/Iterator;;<=>?java/util/IteratorhasNext()Z;ABCnext()Ljava/lang/Object;Ejava/util/Map$EntryDGHCgetKeyJjava/lang/StringDLMCgetValueO(com/google/javascript/jscomp/RenamingMapQ*com/google/javascript/jscomp/RenamingToken	STUVW2com/google/javascript/jscomp/ReplaceIdGenerators$15$SwitchMap$com$google$javascript$jscomp$RenamingToken[I
PYZ[ordinal()I/]^_put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;	abcde?com/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategyINCONSISTENTALcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;/ghiget&(Ljava/lang/Object;)Ljava/lang/Object;kcom/google/common/collect/BiMap
mnocreateNameSupplier?(Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;Lcom/google/common/collect/BiMap;)Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;	aqreSTABLE	atueMAPPED
wnx?(Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;Lcom/google/javascript/jscomp/RenamingMap;)Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;
z{|}~(com/google/common/collect/ImmutableBiMapof,()Lcom/google/common/collect/ImmutableBiMap;?Ccom/google/javascript/jscomp/ReplaceIdGenerators$StableNameSupplier
	a??eXID?@com/google/javascript/jscomp/ReplaceIdGenerators$XidNameSupplier
???2(Lcom/google/javascript/jscomp/Xid$HashFunction;)V?Ccom/google/javascript/jscomp/ReplaceIdGenerators$PseudoNameSupplier
???D(Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;)V?Gcom/google/javascript/jscomp/ReplaceIdGenerators$ObfuscatedNameSupplier
???e(Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;Lcom/google/common/collect/BiMap;)V
?????$com/google/common/base/Preconditions
checkState(Z)V?Ccom/google/javascript/jscomp/ReplaceIdGenerators$MappedNameSupplier
???-(Lcom/google/javascript/jscomp/RenamingMap;)V?Acom/google/javascript/jscomp/ReplaceIdGenerators$GatherGenerators
???5(Lcom/google/javascript/jscomp/ReplaceIdGenerators;)V
?????*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V/???isEmpty?Bcom/google/javascript/jscomp/ReplaceIdGenerators$ReplaceGenerators
??
&???generateSerializedIdMappings#(Ljava/util/Map;)Ljava/lang/String;
????? com/google/javascript/rhino/NodegetSourceFileName()Ljava/lang/String;
???[	getLineno
???[	getCharno???makeConcatWithConstants((Ljava/lang/String;II)Ljava/lang/String;? JSC_NON_GLOBAL_ID_GENERATOR_CALL?-Id generator call must be in the global scope
?????+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;	???NON_GLOBAL_ID_GENERATOR_CALL-Lcom/google/javascript/jscomp/DiagnosticType;?!JSC_CONDITIONAL_ID_GENERATOR_CALL?'Id generator call must be unconditional	???CONDITIONAL_ID_GENERATOR_CALL? JSC_INVALID_GENERATOR_ID_MAPPING?!Invalid generator id mapping. {0}	???INVALID_GENERATOR_ID_MAPPING?"JSC_MISSING_NAME_MAP_FOR_GENERATOR??The mapped id generator, does not have a renaming map supplied.
????warning	???MISSING_NAME_MAP_FOR_GENERATOR?JSC_INVALID_GENERATOR_PARAMETER?.An id generator must be called with a literal.	???INVALID_GENERATOR_PARAMETER?YAn id generator must be called with a template literals with no invalid escape sequences.	???"INVALID_TEMPLATE_LITERAL_PARAMETER?.JSC_SHORTHAND_FUNCTION_NOT_SUPPORTED_IN_ID_GEN?UObject literal shorthand functions is not allowed in the arguments of an id generator	???*SHORTHAND_FUNCTION_NOT_SUPPORTED_IN_ID_GEN?)JSC_COMPUTED_PROP_NOT_SUPPORTED_IN_ID_GENXObject literal computed property name is not allowed in the arguments of an id generator	?%COMPUTED_PROP_NOT_SUPPORTED_IN_ID_GEN!$jscomp.createTemplateTagFirstArg
	}
)com/google/javascript/rhino/QualifiedName?(Ljava/lang/String;)Lcom/google/javascript/rhino/QualifiedName;	
CREATE_TEMPLATE_TAG_FIRST_ARG+Lcom/google/javascript/rhino/QualifiedName;)com/google/javascript/jscomp/CompilerPass	SignaturebLjava/util/Map;XLjava/util/Map;>;jLjava/util/Map;>;?(Lcom/google/javascript/jscomp/AbstractCompiler;ZLjava/util/Map;ZLjava/lang/String;Lcom/google/javascript/jscomp/Xid$HashFunction;)VCodeLineNumberTableLocalVariableTablenameLjava/lang/String;map*Lcom/google/javascript/jscomp/RenamingMap;genLjava/util/Map$Entry;this2Lcom/google/javascript/jscomp/ReplaceIdGenerators;idGenspreviousMapSerializedLocalVariableTypeTableSLjava/util/Map$Entry;MLjava/util/Map;
StackMapTable(-com/google/javascript/jscomp/AbstractCompiler*-com/google/javascript/jscomp/Xid$HashFunctionMethodParameters?(Lcom/google/javascript/jscomp/AbstractCompiler;ZLjava/util/Map;ZLjava/lang/String;Lcom/google/javascript/jscomp/Xid$HashFunction;)VrenameStrategypreviousMappings!Lcom/google/common/collect/BiMap;GLcom/google/common/collect/BiMap;?(Lcom/google/javascript/jscomp/ReplaceIdGenerators$RenameStrategy;Lcom/google/common/collect/BiMap;)Lcom/google/javascript/jscomp/ReplaceIdGenerators$NameSupplier;mappingsprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootgetSerializedIdMappingsgetIdForGeneratorNodeI(ZLcom/google/javascript/rhino/Node;Ljava/lang/String;)Ljava/lang/String;
consistentn
SourceFileReplaceIdGenerators.javaNestMembersB=com/google/javascript/jscomp/ReplaceIdGenerators$NameSupplierBootstrapMethodsE
FGH?I$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;K::InnerClassesN com/google/javascript/jscomp/XidHashFunctionEntryRenameStrategyNameSupplierStableNameSupplierXidNameSupplierPseudoNameSupplierObfuscatedNameSupplierMappedNameSupplierGatherGeneratorsZ3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackReplaceGenerators^%java/lang/invoke/MethodHandles$Lookup`java/lang/invoke/MethodHandlesLookup ???????????????$!-
?3*?*+?*?
*?*?*?Y??*?Y??*?Y??"?%:*?+-??-?.?4:?:???@?D:		?F?I:
	?K?N:?P?|?R?P?X.?j)K*?
?\W???*?
*?`
?f?j?l?\W?"*?
*?p
?f?j?l?\W?*?
?s?v?\W*?
?Y??\W??*??!ef	ghij%k0l;n=oBpHrLsot{u?v?w?y?z?|?}?|?~???????????/?2?p{?
??o?	3 333!33"3B?-# o?$	3!%B?-&L?Y	'/I)/;?ZDIN!?'/I)/+!",no?H,?,??yM+?p??Y???+?????Y*????*????Y+?????Y+,???*
???".5> H H-eH./#H.0&
Bj+	-.1
nx[*?s??????Y+???

-e2&@+	-234?-*?,??Y*????*????*?,??Y*?????PQR,T - -56-76&,+	578?2*????. 
9:g?,?+??+??+?????235 ;<6&+
;<=?Z?Ƹȳ??Ըȳ??۸ȳ????????????????ȳ????ȳ???N()
-.237"8(<,=2A6B<G@HFMJNPSY>?@
S??????AaCDJLr)MO	D/P	SaQ@AR
S
?T
?U
?V
?W
?XY?[	?\]_a




© 2015 - 2024 Weber Informatics LLC | Privacy Policy