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

com.google.javascript.jscomp.Es6RewriteModulesToCommonJsModules$Rewriter.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??com/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V	

Hcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$Rewritercompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	
script"Lcom/google/javascript/rhino/Node;	
requireInsertSpotjava/util/TreeMap
	
exportedNameToLocalQNameLjava/util/Map;java/util/LinkedHashSet
	
!"#importRequestsLjava/util/Set;	
%&#imports
()*+, com/google/javascript/rhino/Node
getInputId'()Lcom/google/javascript/rhino/InputId;
./012-com/google/javascript/jscomp/AbstractCompilergetInputS(Lcom/google/javascript/rhino/InputId;)Lcom/google/javascript/jscomp/CompilerInput;
45678*com/google/javascript/jscomp/CompilerInputgetPath=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;	
:;<
modulePath;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;	>?@ABAcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$1,$SwitchMap$com$google$javascript$rhino$Token[I
(DEFgetToken%()Lcom/google/javascript/rhino/Token;
HIJKL!com/google/javascript/rhino/Tokenordinal()I
NOP1Q*com/google/javascript/jscomp/NodeTraversal.()Lcom/google/javascript/jscomp/CompilerInput;

STUvisitImport`(Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;Lcom/google/javascript/rhino/Node;)V

WXYvisitExports(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V

[\]visitScriptQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V

_`]maybeRenameImportedValue
(bcdisImport()Z
fghij$com/google/common/base/Preconditions
checkState(Z)V
(lmngetSecondChild$()Lcom/google/javascript/rhino/Node;
(pqdisImportStar
(stu	getString()Ljava/lang/String;
(wxngetLastChild

z{|getVarNameOfImport&(Ljava/lang/String;)Ljava/lang/String;
~???9com/google/javascript/jscomp/deps/ModuleLoader$ModulePathresolveModuleAsPathO(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
~??utoModuleName
(??n	getParent

?{?6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
(??disImportSpec
(??n
getFirstChild???makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??|
(??disName
?????"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var
???ngetNameNode
?????%com/google/javascript/jscomp/NodeUtilisImportedName%(Lcom/google/javascript/rhino/Node;)Z

???getNameOfImportedValue
(??disExport
(??disExportSpec
N???getScope&()Lcom/google/javascript/jscomp/Scope;

???maybeGetNameOfImportedValueZ(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
????newQNamee(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
(???replaceWith%(Lcom/google/javascript/rhino/Node;)V
N??reportCodeChange
(??disModuleBody
(??ndetach
(??nremoveChildren
(???addChildrenToFront

??addRequireCalls

??addExportDef

???registerAndLoadModule/(Lcom/google/javascript/jscomp/NodeTraversal;)V????d
java/util/SetisEmpty????iterator()Ljava/util/Iterator;????djava/util/IteratorhasNext????next()Ljava/lang/Object;?Mcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$ModuleRequest
???uvarName????add(Ljava/lang/Object;)Z?	$$require
????com/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
?u	specifier
?string
?	
calli(Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	(
	FREE_CALL'Lcom/google/javascript/rhino/Node$Prop;
(putBooleanProp+(Lcom/google/javascript/rhino/Node$Prop;Z)V
?varh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
(srcrefTreeIfMissingF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
(?addChildToFront
( ?insertAfter
?"#nblock%'	$$exports)$$module
?+,-	paramListG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
?/01function?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	H345ARRAYLIT#Lcom/google/javascript/rhino/Token;
(78&(Lcom/google/javascript/rhino/Token;)V
(:;?addChildToBack=$jscomp?
?@ABgetpropX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
.DEFgetModuleLoader2()Lcom/google/javascript/jscomp/deps/ModuleLoader;
4HIugetName
KLMN?.com/google/javascript/jscomp/deps/ModuleLoaderresolve
~PQutoString
ST|
normalizePath
?VW
exprResult
.YZ?reportChangeToChangeScope\?]
java/util/Map
?_`-	objectlit\bcdentrySet()Ljava/util/Set;fjava/util/Map$Entryehi?getKeykjava/lang/Stringemn?getValuepJcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$LocalQName

rst	addExport?(Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$LocalQName;)VvObject.defineProperties	oxyzqNameLjava/lang/String;
?|}
returnNode
?#	o??nodeForSourceInfo
(??
srcrefTree?
enumerable
???ntrueNode
????	stringKeyX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;?get?://
j???contains(Ljava/lang/CharSequence;)Z	?????.com/google/javascript/jscomp/TranspilationUtilCANNOT_CONVERT-Lcom/google/javascript/jscomp/DiagnosticType;?Module requests with protocols.
?????$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
.???report)(Lcom/google/javascript/jscomp/JSError;)V
????createu(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$ModuleRequest;
(??d
isFunction
(??disClass
??I??	$$default
(??nremoveFirstChild
???	constNode
N??ngetCurrentScript	?????>com/google/javascript/jscomp/parsing/parser/FeatureSet$FeatureCONST_DECLARATIONS@Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
????addFeatureToScript?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V?default
o??7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)V\???put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
???nempty
(??n	cloneNode
???1
importNode
(??srcref
(???insertBefore

??Yvisit
(??ngetFirstFirstChild
(??ngetNext
f???checkNotNull&(Ljava/lang/Object;)Ljava/lang/Object;???accepti(Lcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$Rewriter;)Ljava/util/function/Consumer;
????visitLhsNodesInNodeB(Lcom/google/javascript/rhino/Node;Ljava/util/function/Consumer;)V
????isNameDeclaration

???visitExportNameDeclaration?
exportAllFrom	(EXPORT_DEFAULT
(getBooleanProp*(Lcom/google/javascript/rhino/Node$Prop;)Z

]visitExportDefault	(
EXPORT_ALL_FROM


YvisitExportStar
(dhasTwoChildren

YvisitExportFrom
(d
isExportSpecs

]visitExportSpecs

]visitExportDeclarationRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;	SignatureoLjava/util/Map;3Ljava/util/Set;`Ljava/util/Set;T(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;)VCodeLineNumberTableLocalVariableTablethisJLcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$Rewriter;MethodParameterst,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTable
importDecl
importRequestnameNode
moduleNames$Lcom/google/javascript/jscomp/Scope;"Lcom/google/javascript/jscomp/Var;
moduleNoderequireCalldeclrequestOLcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$ModuleRequest;
importedNamesLocalVariableTypeTable#Ljava/util/Set;moduleFunctionshallowDepsentryLjava/util/Map$Entry;definePropertiesLituLjava/util/Map$Entry;exportedName
localQNameLLcom/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules$LocalQName;
exportedValuegetterFunctionobjLitpathexportchild
exportSpecmoduleIdentifier	localNamedeclarationaddExportedNamelhs
SourceFile'Es6RewriteModulesToCommonJsModules.javaNestHostBootstrapMethodsY
Z[\?]$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;_.a	.defaultc
defgh"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;j(Ljava/lang/Object;)Vl

mR??InnerClassesAbstractPostOrderCallbackRewriter
ModulePath
ModuleRequestu%com/google/javascript/rhino/Node$PropPropEntry
LocalQNamez6com/google/javascript/jscomp/parsing/parser/FeatureSetFeature}%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup 
 !&# ""# #
;<$%?D*?*+?	*,?*?*?Y??*?Y?? *?Y??$*+,?'?-?3?9?&&	??	????)?4?C?' D()D
D*	
?Y%?T?=,?C?G.?H,6?*+?M?3,?R?*+,-?V?*+,?Z?*+,?^??&*
?(?4?7?>?A?G?J?P?S?'*T()T+,T-T./(	*
+-.{?%n%+?a?e+?k?o?+?k?r?*+?v?r?y?&????'%()%0/*0{|%@*?9+?}???&?'()1z*1??%?L+M,?a?,??M???*,??N+?????-+?????r???+?o?-?+???a?e-???&*
??	???!?2?9?;?E?'*L()L2J053z/?(? j*2??%?;,???e+,?r????N-?%-???-?????,-???*-??????&"?????*?0?9'*;();45;2(6/?9?*	42`]%?K,???e,??N-???-???-?a?
-????*+??,??:?,*?	????+?ű&2	
"()49FJ'4K()K+,K-?.4yz/?((? j*	+-\]%?7*?,???e,??N-?ȸe-??W,-?ζ?*??*??*+?ڱ&&	!)+-,1-6.'*7()7+,7"7/@*	+?%??*? ????*?$??L+???+???(M,??W???Y?L*? ??M,???z,????N-??:+???\????(Y-??S?:?????:*??W*??*???*??*?????&J23)4.51799V:\;g<=?>???@?A?C?E?G?I'H)0A8?,9\d?zVj:;9?<#?()=9?<>/D???????m
???j((?
?????%?޸!M,*??ζ?$???(Y???SY&??SY(??S?*,?.N?(Y?2?6:*? ??:???????:???9??????(Y-SY*?	?C+?M?G?J?O?R?SYS??U:*?*???9*?	*??X*?	-?X+?ű&ZMNZ\]7[;`Gbhcudxf{i?n?m?l?h?g?q?s?t?u?v'Hh
:;?()?+,?#;??G?@?(W/?R
N(((??%*+?%?*??[?v?(?^L*??a??M,???',???eN*+-?g?j-?l?o?q???*?*?	u???(Y&??SY+S??U*????&6
z{}6~MP?[?g?o?r?y?|??' 6ABkC?()=6AD/?#(??,?.st%?e*?	-?w??:$???(?*?{?~?.:-????W?(Y?????SY???S?^:+,???9*?	?X?&*
?
??'?1?:?L?Q?[?d?'He()eCeEzeFG
XH'>IQJ*
CEFTU%?W,?v?r????*?	,???jY?S????*? +,?v?r?}?O?R*,??????W*?$,??W?&2??"?%?(?.?:???B?E?K?V?' W()WK<W0/(*	K0]%)w,??N:-???
-???	-??:?-??:,???.?:??,????:,,???+????*?	??*?ʻoY,?̹?W+?ű&>?????!?'?-?0?5?C?M?[?r?v?'H'9Cw()w+,wLrMo?z/?(j**	+LY%U,?v:?Ӹ??ָ?:,??W,??*+-??*?r?y:,??:?7*??v?r?oY???r???̹?W??:???,??W+?ű&B????#?+?6?<?A?G?U?e?k?u?z?~?'R<9N()+,L.yOi?6I3z/$?<
N((((j(?8*
+L.]%q,??N-?a-???r:+??????:?"?????*+??-????:??W*?-?v?r?oY-?̹?W-??N???,??W+?ű&:??	?? ?0?>?D?I?Y?_?g?l?p?'>MPz ?6bNq()q+,qL/?(?>j??"*	+L??%C+*????&
?
?'()Q*QR?%k!+???e+?rM*?,?oY,+?̹?W?&??? ?' !()!S?z*S]%?V,??N-???*-???8-???
-?????e-???r:*??oY,?̹?W,-?˶?+?ű&&	???*3IQU'43?zV()V+,VLQQ/
?(
@!*	+LY%?a,?v:?Ӹ??ָ?:,??W,??*+-??*?r?y:,(??????(Y??S??U,????+?ű&6
#+6:RVY\`'Ha()a+,aLa.[OK?6+3z*
+L.XY%?R,????*+,??A,?	??
*+,-??-,??
*+,-??,????*+,??	*+,??&*

 '!."8$B%K'Q*'*R()R+,RLR./*
+L.TUVWX^X`biknoR
Np	
q
~Kr>?st(v@e\w	ox
?y{@|~?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy