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

com.google.javascript.jscomp.ExternExportsPass$Export.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?	5com/google/javascript/jscomp/ExternExportsPass$Exportthis$00Lcom/google/javascript/jscomp/ExternExportsPass;
	
java/lang/Object()V
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;java/lang/String	
symbolNameLjava/lang/String; com/google/javascript/rhino/Node	value"Lcom/google/javascript/rhino/Node;
 !"getExportedPath()Ljava/lang/String;
$%&getValue$()Lcom/google/javascript/rhino/Node;
()*appendExtern7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)V
,-./0.com/google/javascript/jscomp/ExternExportsPasscomputePathPrefixes=(Ljava/lang/String;)Lcom/google/common/collect/ImmutableList;
23456'com/google/common/collect/ImmutableListsize()I
289:get(I)Ljava/lang/Object;<
.prototype
>?@endsWith(Ljava/lang/String;)Z	,BCDalreadyExportedPathsLjava/util/Set;FGHIJ
java/util/Setcontains(Ljava/lang/Object;)Z
LMNOP%com/google/javascript/jscomp/NodeUtilgetBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
RSTisClass()Z
VWXYT%com/google/javascript/rhino/JSDocInfocontainsTypeDefinition
[\T
isFunction
^_`createExternFunctionF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
bc`createExternFunctionForEs6Class
efTisObjectLit
hij
checkState(Z)V
lm`createExternObjectLit
opqbuildNamespaceJSDoc)()Lcom/google/javascript/rhino/JSDocInfo;
stuvwcom/google/javascript/rhino/IR	objectlitG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
yz{setJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
s}~&empty
???appendPathDefinition^(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/JSDocInfo;)V?.
?I?(Ljava/lang/CharSequence;)Z	,???compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
L???newQNamee(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
??TisEmpty
L??`newExpr
s???assignh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
s???name6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
s??`var
L???
newVarNodeX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
??TisExprResult
??&
getFirstChild
??TisVar	,??externsRoot
???addChildToBack%(Lcom/google/javascript/rhino/Node;)VF??Jadd
??`*createExternsParamListFromOriginalFunction?
s??&block
s???function?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???	getJSType-()Lcom/google/javascript/rhino/jstype/JSType;
???	setJSTypeO(Lcom/google/javascript/rhino/jstype/JSType;)Lcom/google/javascript/rhino/Node;
L??`getFunctionParameters?java/util/ArrayList
?	
???getOriginalNameForParam6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;???java/util/List
??&getNext
???+createExternsParamListFromOriginalParamList4(Ljava/util/List;)Lcom/google/javascript/rhino/Node;
?????)com/google/javascript/rhino/jstype/JSTypeassertFunctionType3()Lcom/google/javascript/rhino/jstype/FunctionType;
?????/com/google/javascript/rhino/jstype/FunctionType
getParameters+()Lcom/google/common/collect/ImmutableList;
?????java/util/CollectionsnCopies%(ILjava/lang/Object;)Ljava/util/List;
s??w	paramList?1com/google/javascript/jscomp/DefaultNameGenerator
?????&com/google/common/collect/ImmutableSetcopyOf@(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
???&(Ljava/util/Set;Ljava/lang/String;[C)V?iterator()Ljava/util/Iterator;Tjava/util/IteratorhasNext
next()Ljava/lang/Object;
?"*com/google/javascript/jscomp/NameGeneratorgenerateNextName
TisRest
&getOnlyChild
TisDefaultValue
TisName
 !"getOriginalName
#$"	getString
&'TisDestructuringPattern
)i*(ZLjava/lang/Object;)V
L,-`'getEs6ClassConstructorMemberFunctionDef
/0?&createExternsParamListFromFunctionType
V234builder1()Lcom/google/javascript/rhino/JSDocInfo$Builder;
6789:-com/google/javascript/rhino/JSDocInfo$Builderbuild*(Z)Lcom/google/javascript/rhino/JSDocInfo;
6<=TrecordConstancy?constA	duplicate
?CDEofN(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;
6GHIrecordSuppressions(Ljava/util/Set;)V
6K9q
MNqbuildEmptyJSDoc
PQTisStringKey
sST?	stringKey
sVWXnumber%(D)Lcom/google/javascript/rhino/Node;
sZ[?propdef
]^"getQualifiedName	,`ab
definitionMapLjava/util/Map;def9
java/util/Mapg(Lcom/google/javascript/jscomp/ExternExportsPass;Ljava/lang/String;Lcom/google/javascript/rhino/Node;)VCodeLineNumberTableLocalVariableTablethis7Lcom/google/javascript/jscomp/ExternExportsPass$Export;MethodParametersgenerateExternsjsdoc'Lcom/google/javascript/rhino/JSDocInfo;initializer
pathPrefixisCompletePathPrefixZskipPathPrefixexportedValueDefinesNewTypeiIpath
valueToExportpathPrefixes)Lcom/google/common/collect/ImmutableList;LocalVariableTypeTable=Lcom/google/common/collect/ImmutableList;
StackMapTablepathDefinition
qualifiedPathexportedFunctionexternFunction
originalParamoriginalParamListoriginalParamNamesLjava/util/List;$Ljava/util/List;functionType+Lcom/google/javascript/rhino/jstype/JSType;emptyParamNamesexternParamNameoriginalParamName
nameGenerator,Lcom/google/javascript/jscomp/NameGenerator;	SignatureH(Ljava/util/List;)Lcom/google/javascript/rhino/Node;nameOrPatternNodeoriginalName	paramNodeclassJSType
exportedClassconstructorMethodDefinition/Lcom/google/javascript/rhino/JSDocInfo$Builder;childexportedObjectLitlitindex
qualifiedName
definitionRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;
SourceFileExternExportsPass.javaNestHostInnerClassesExportBuilder ghj *+?*?*,?
??*-?
???iP	QRSj  kl  m
nh;
**?*?#?'?i
Z[j
kl!")*h??+?+N6-?1??-?7?:-?1d??6;?=?*??A?E???6???6,? ,?K:	,?Q?	?	?U?6:
?:,?6,?Z?
*,?]:	?Q,?Q?
*,?a:	?@,?d?g*,?k:	?/?%? *?n:
*??r?k:		?xW??|:	*	
?????iznpqu.w2xAyUzZ{]~`?d?j?~??????????????????????????????p??j?jop	?q	?q	?q	?
q	?r.?stU?ut`?vt?
q	?rop
?wx?kl?y?z?{|}?{~g?2?"@?!@?	? V??V&?2V?	2?m	yz??h}?+????/*???+??:,???
??:?,????:?,???+????:?
+,??:-?'?????-?xW????g-?xW*?????*??A+??W?iF?	???'?2?5?<?H?O?S?[?h?p?w?????j\	$??2?E??kl?y?q?opOC?+?'?
V??m
yqo_`hr*+??M???,????N-+?Ķ?W-?i????j*kl???m??`h?5+??M??Y??N,??:?-*?ҹ?W??:???*-?ܰi??
???%?/?j4?5kl5?0?
(??}
(?????m?0?hn+???1???M*,?ܰij kl????}??m???hX???M??Y+?????N+?:??0?	?:?
?-??:,???????,?i"

5JSVj>J	?5?XklX??P?A??}X????&A?
m?????h?D+??+?M?+??+??M?+M,??,?N-?-?,?"?,?%,?(??i*
 !#% ''(,)9+A,j>??,
?DklD? $???C?m?c`h?7+?+M,?(+??N*-?.:???????:-??W?*,??]?i&	:;<	@AB$C+D.Hj> ???$
?7kl7?2??.m?Nqh2?1?5?iOjklpqh[?1L+?;W+>@?B?F+?J?iST	UVjkl3?m`h?R??rM,+?Ķ?W,*?L?xW>+??:?,?O?,?"?R???U?Y????:???,?i:_`dfg"h'k/l2n=o@mClFiPrj4".?RklR?J?6?x?"#?	m?%&h?>*??\L+??*??_+?c?M,??,?Z?,?Q?
,?d?,??i&	z|???#?%?:?<?j >kl6?????????,?,?6V?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy