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

com.google.javascript.jscomp.DefaultNameGenerator.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!
????7A
java/lang/Object()V
	
1com/google/javascript/jscomp/DefaultNameGeneratorbuildPriorityLookupMap

com/google/common/collect/Sets newLinkedHashSetWithExpectedSize(I)Ljava/util/LinkedHashSet;
reset&(Ljava/util/Set;Ljava/lang/String;[C)V
((Ljava/util/Set;Ljava/lang/String;[C[C)V
	 
NONFIRST_CHAR[C
"#$%&com/google/common/collect/Maps newLinkedHashMapWithExpectedSize(I)Ljava/util/LinkedHashMap;	()*priorityLookupMapLjava/util/Map;,-./0
java/util/MapentrySet()Ljava/util/Set;23456
java/util/Setiterator()Ljava/util/Iterator;89:;<java/util/IteratorhasNext()Z8>?@next()Ljava/lang/Object;Bjava/util/Map$EntryADE@getKeyGjava/lang/CharacterAIJ@getValueL>com/google/javascript/jscomp/DefaultNameGenerator$CharPriority
KNOPcloneB()Lcom/google/javascript/jscomp/DefaultNameGenerator$CharPriority;,RSTput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
FVWXvalueOf(C)Ljava/lang/Character;
KZ[(CI)V	]^_	BAD_NAMES(Lcom/google/common/collect/ImmutableSet;
abcde&com/google/common/collect/ImmutableSetcontains(Ljava/lang/Object;)Z	ghi
reservedNamesLjava/util/Set;	klmprefixLjava/lang/String;	opq	nameCountI	st 
FIRST_CHAR
vwxreserveCharactersG([C[C)[Lcom/google/javascript/jscomp/DefaultNameGenerator$CharPriority;	z{|
firstCharsA[Lcom/google/javascript/jscomp/DefaultNameGenerator$CharPriority;	~|
nonFirstChars
?????java/util/Arrayssort([Ljava/lang/Object;)V
???checkPrefix(Ljava/lang/String;)V
??5(Ljava/util/Set;Ljava/lang/String;[CLjava/util/Map;)V?????java/lang/CharSequencelength()I????charAt(I)C,???get&(Ljava/lang/Object;)Ljava/lang/Object;	K??q
occurrence?java/util/LinkedHashSet
?????"com/google/common/primitives/CharsasList([C)Ljava/util/List;
???(Ljava/util/Collection;)V2??eremove2???size
F???	charValue()C
???java/lang/String
??
?d?E([Lcom/google/javascript/jscomp/DefaultNameGenerator$CharPriority;C)Z	K???nameC?"java/lang/IllegalArgumentException
????toString([C)Ljava/lang/String;???makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
?????java/lang/StringBuilder
?
???<isEmpty
????append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
??
????(C)Ljava/lang/StringBuilder;
????()Ljava/lang/String;
?????'com/google/javascript/rhino/TokenStream	isKeyword(Ljava/lang/String;)Z2b
???	isBadName?5abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$
????toCharArray()[C?@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789$?let?yield?await?eval
a???ofr(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;?*com/google/javascript/jscomp/NameGenerator	SignaturefLjava/util/Map;;#Ljava/util/Set;CodeLineNumberTableLocalVariableTablethis3Lcom/google/javascript/jscomp/DefaultNameGenerator;LocalVariableTypeTablereservedCharactersMethodParameters:(Ljava/util/Set;Ljava/lang/String;[C)VRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;reservedFirstCharactersreservedNonFirstCharacters<(Ljava/util/Set;Ljava/lang/String;[C[C)VentryLjava/util/Map$Entry;lLjava/util/Map$Entry;
StackMapTable ?(Ljava/util/Set;Ljava/lang/String;[CLjava/util/Map;)VcorderQ(Ljava/util/Set;Ljava/lang/String;[C)Lcom/google/javascript/jscomp/NameGenerator;e(Ljava/util/Set;Ljava/lang/String;[C)Lcom/google/javascript/jscomp/NameGenerator;favors(Ljava/lang/CharSequence;)V@Lcom/google/javascript/jscomp/DefaultNameGenerator$CharPriority;isequenceLjava/lang/CharSequence;resultreservedCharactercharscharSetindex&Ljava/util/Set;|posarrgenerateNextNamesbLjava/lang/StringBuilder;
SourceFileDefaultNameGenerator.javaNestMembersBootstrapMethods0
123?4$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;6 prefix must start with one of: 80prefix has invalid characters, must be one of: InnerClassesEntryCharPriority=%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1?	)*??t  ^_??hi??lmpq{||l*?*??L*+??pqr
st
	hi
	h?g	*+,--??
xy*		hi	lm	 	h?
hl?		
?*?*?*+,-??????4hilm  h?hl?
	

?`*?*???!?'?+?1:?7?3?=?A:*?'?C?F?H?K?M?QW???*+,--?????3?T?W?_?>3!``hi`lm` `)* 3!`h?`)??2?,8?9hl)?		
?F*???!?'6?+,46*?'?U?KY?Y?QW????ձ??
?#?<???E? #?F
9q??-
??2?\*?`???m?g	*+,--??
??*		hi	lm	 	h?
hl?		
?<*+?f*,?j*?n**?r-?u?y**??u?}*?y??*?}??*,???&	??
???(?/?6?;?4<<hi<lm< < <h?hl?
	

Oi?Y+,-*?'????*hilm h?
hl?		
?8=+???.*?'+???U???KN-?
-Y??`?????α??#?'?1?7?*#5q88
?.?wx??,?,??2+??KN6+?? -*?'+4?U???KS????-???Y+????N,:?66?46-?U??W????-???K:6-?1:?7?.?=?F??6?*?'?U???KS????B?	???0?6?8?D?]?i?o?z?}???????f
$q)|]?????  ? Dy!izC|}@"qDy!#8	?$?#??2??$8?4	 ??s?+????*?y+?????6*?y??M>,??,*?y2??U?????Y,?????ȿ=+???O*?}??N6-??-*?}2??U????*?}+???????Y-?????ȿ?????J&28	=
IS
[esy????H q+  ^q[>  KT%q??lm#? ???????l
d?z=*??*2?????????  q&|?
??	&'?P???Y??M*?n>*?j?Κ,*?j??W,?՚#*?y?p6,*?y2????W*?y?l>?)??*?}?p6,*?}2????W*?}?l>???*Y?n`?n,??L+?ܚ?|*?f+????o+???h+?J*+
,- 0'102?3G6K7N8W9f:n;q={>?@?B>0%qW%qx()
sq???m
??&)*O??r?????????\?YZ]
_fgf+,-K./5/79A,:	K;<>@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy