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

com.google.javascript.jscomp.ProcessClosureProvidesAndRequires.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!
????7?
java/lang/Object()Vjava/util/LinkedHashMap
	
>com/google/javascript/jscomp/ProcessClosureProvidesAndRequires
providedNamesLjava/util/Map;java/util/ArrayList
	requiresToBeRemovedLjava/util/List;	hasRewritingOccurredZjava/util/LinkedHashSet
	 !forwardDeclaresToRemoveLjava/util/Set;	#$%compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
'()*+-com/google/javascript/jscomp/AbstractCompiler
getChunkGraph-()Lcom/google/javascript/jscomp/JSChunkGraph;	-./
chunkGraph+Lcom/google/javascript/jscomp/JSChunkGraph;	12preserveGoogProvidesAndRequires
'456createAstFactory+()Lcom/google/javascript/jscomp/AstFactory;	89:
astFactory)Lcom/google/javascript/jscomp/AstFactory;
<=>rewriteProvidesAndRequiresG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V@ABCD
java/util/MapisEmpty()ZFgoogHRcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedNameBuilder
GJKC(Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires;)V
GMNOsetNamespaceh(Ljava/lang/String;)Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedNameBuilder;
GQRSsetNodex(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedNameBuilder;
GUVWsetChunk|(Lcom/google/javascript/jscomp/JSChunk;)Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedNameBuilder;
GYZ[buildO()Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedName;@]^_put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;aQcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$CollectDefinitions
`J
defgh*com/google/javascript/jscomp/NodeTraversal
traverseRoots?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/NodeTraversal$Callback;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vj9Cannot call rewriteProvidesAndRequires twice per instance
lmnop$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V
rstcollectProvidedNamesU(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Ljava/util/Map;@vwxvalues()Ljava/util/Collection;z{|}~java/util/Collectioniterator()Ljava/util/Iterator;????Djava/util/IteratorhasNext????next()Ljava/lang/Object;?Kcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedName
????replace(ZLjava/util/Map;)V?{?java/util/List? com/google/javascript/rhino/Node
'???reportChangeToEnclosingScope%(Lcom/google/javascript/rhino/Node;)V
????detach$()Lcom/google/javascript/rhino/Node;?{?
java/util/Set
?????%com/google/javascript/jscomp/NodeUtil
deleteNodeT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
'???
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
????D,com/google/javascript/jscomp/CompilerOptionsshouldPreserveGoogModule
d??DinGlobalHoistScope
????	getParent
???DisExprResult
???verifyOnlyArgumentIsString%(Lcom/google/javascript/rhino/Node;)Z????add(Ljava/lang/Object;)Z
???registerAnyProvidedPrefixes](Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/JSChunk;)V
G???setExplicitW(Z)Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedNameBuilder;
G???setFromLegacyModule
???DisCall
l?o?(Z)V
????
getFirstChild
????getNext
????	getString()Ljava/lang/String;
????getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
????D%com/google/javascript/rhino/JSDocInfoisProvideAlreadyProvided@???containsKey@???get&(Ljava/lang/Object;)Ljava/lang/Object;
???DisExplicitlyProvided
d???getChunk(()Lcom/google/javascript/jscomp/JSChunk;
????
addProvidew(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/JSChunk;ZLcom/google/javascript/jscomp/JSChunkGraph;)V
G???setHasImplicitInitialization
???D
isFromExterns
???isTypedefStubDeclaration
???DisQualifiedName
??getQualifiedName
?
addDefinitionv(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/JSChunk;Lcom/google/javascript/jscomp/JSChunkGraph;)V
	?checkNestedTypedefProvide.

java/lang/Stringcontains(Ljava/lang/CharSequence;)Z

lastIndexOf(Ljava/lang/String;)I

	substring(II)Ljava/lang/String;
??getCandidateDefinition
? getStaticSourceFile0()Lcom/google/javascript/rhino/StaticSourceFile;
"#?equals	%&'TYPEDEF_CHILD_OF_PROVIDE-Lcom/google/javascript/jscomp/DiagnosticType;
)*+,-$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
'/01report)(Lcom/google/javascript/jscomp/JSError;)V
?34DhasTypedefType	6789:@com/google/javascript/jscomp/ProcessClosureProvidesAndRequires$1,$SwitchMap$com$google$javascript$rhino$Token[I
?<=>getToken%()Lcom/google/javascript/rhino/Token;
@ABCD!com/google/javascript/rhino/Tokenordinal()I
dFGD
inGlobalScope
?IJDisAssign
'LMNgetCodingConvention1()Lcom/google/javascript/jscomp/CodingConvention;PQRST-com/google/javascript/jscomp/CodingConventionidentifyTypeDeclarationCall4(Lcom/google/javascript/rhino/Node;)Ljava/util/List;?VWDsize??
?Z[?getSecondChild
?]^DisStringLit

`abindexOf(I)I

dae(II)I	?ghiIS_NAMESPACE'Lcom/google/javascript/rhino/Node$Prop;
?klmgetBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z
?op?getLastChild
?rsDisVar
?uvDisCast
?xy?getOnlyChild
?{|DisObjectLit
?~DhasChildren?JSC_TYPEDEF_CHILD_OF_PROVIDE?hinvalid @typedef goog.provide {0}
Parent namespace {1} is goog.provided and initialized in the same file
?????+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;?)com/google/javascript/jscomp/CompilerPassGOOGLjava/lang/String;
ConstantValue	SignaturepLjava/util/Map;4Ljava/util/List;3Ljava/util/Set;3(Lcom/google/javascript/jscomp/AbstractCompiler;Z)VCodeLineNumberTableLocalVariableTablethis@Lcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires;MethodParametersprocessexterns"Lcom/google/javascript/rhino/Node;root
StackMapTable?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Ljava/util/Map;pnMLcom/google/javascript/jscomp/ProcessClosureProvidesAndRequires$ProvidedName;closureRequireforwardDeclareisValidPrimitiveCallQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;nprocessRequireCallcallparentprocessLegacyModuleCall	namespacegoogModuleCallchunk&Lcom/google/javascript/jscomp/JSChunk;processProvideCalls(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VpreviouslyProvidedleftargnsinfo'Lcom/google/javascript/rhino/JSDocInfo;isImplicitlyInitializedhandleStubDefinitionQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Vname
exprResultisExternStub
isTypedefStubisValidTypedefStubDefinition
parentNameparentDefinition	statement handleCandidateProvideDefinitionprocessForwardDeclaretoRemove
convention/Lcom/google/javascript/jscomp/CodingConvention;typeDeclarationsLocalVariableTypeTable$Ljava/util/List;prefixNsnodeposIisNamespacePlaceholderassignvalue
SourceFile&ProcessClosureProvidesAndRequires.javaNestMembersInnerClassesProvidedNameBuilderProvidedNameCollectDefinitions?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback?%com/google/javascript/rhino/Node$PropProp ?
&'???E$%./??2?? !??9:???E*?*?Y?	?
*?Y??*?*?Y??*+?"*+?&?,*?0*+?3?7??*
L@DFG*M/N7O<PDQ? E??E$%E2?	$2?>?I*+,?;??
VW? ???????	??st??F*?
???8*?
E?GY*?IE?L?P?T?X?\W*?"?`Y*?b+,?c*?
??[]^*]0_Aa? F??F??F????A?	????=>?a?*???i?k*?*+,?qW*?
?u?yN-??-????:*?0*?
?????*???N-?? -????:*?"????W???*???N-??-????:*?"??????:jkmo@pMqPsntwu}v?w?x?y?z?>@
??n???	???????????? @???#?	??%?	???	?????x&*?"??????+???,?????????
??? &??&??&???@?	???>?t*+????*?0?*?,??W????	???? ???????	?	??????2*+,-??*?
+?GY*?I+?L,?P-?T???ƶX?\W??*
?????!?%?(?+?1??*2??2??2??2???
???????
?,?ɸ?*,????,??:??:??:,??:??ݙ?6*?
???-*?
????:		??	-+??*?,??>*-+???*?
?GY*?I?L-?P+??T?????X?\W??^??????$?*?>?L?\?d?s?v???????????????????f
\??	??????????????????$???*???>t??*?*d????
?@?6:?
??????+q+????,??>*,??6?*???6??9,?϶??/,?϶:*?
????:?,+??*?,??*,???:


'0:CSXfkp?RC#??S??q??q??q??
d?]?'J???@?
5	?	??	??.?+?϶M,?
,
???*?
,????,,
??N*?
-????:?:??+??!?*????*?"+?$?
Y,SY-S?(?.??:1246$8%:2;A<H=O>_?e@fB?C?>??????y??2O??A@??H9????

??
???????z+????+??M,?,?2????FG	IJ? ???????	??@???????+????:?5,???;??.?K	8''/KK+?E??,??:?,?H?,?϶:???*?
????:?-+??*?,???BOPRS@VGXH\N]Q_X`diijjmzno?q?>???????????????z????7
?"??
????>??F*?"?KN-+?O:*?0?0?+?U? ,???,?,??:*??XW??uwy{(}9~E??>9??F??F??F??>??5??5????3P?C?
?	?????o+?YM,?,?\?,??????
??? ???????
??@?????"x+.?_6?l+?:+.`?c6*?
???*?
????,-*?,??+*?
?GY*?I?L,?P-?T?¶X?\W?????>????#?1?L?\?`?d?h?k?n?t?w??>]??x??x??x??x??p?????C
?'?
???
????Y*?f?j??L*???*??M,?nL?*?q?
*??M,??L+??+?t?+?wL+?z?+?}????:R
SVWXYZ)[.\3_7`9b@dEf?*??.??Y??K?????@????-
?????$??343???
6?G`?2G???`??d?	6???@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy