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

com.google.javascript.jscomp.InlineFunctions.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/InlineFunctionsfnsLjava/util/Map;	anonFns
$com/google/common/base/Preconditions
checkArgument(Z)V	2com/google/javascript/jscomp/CompilerOptions$ReachNONE4Lcom/google/javascript/jscomp/CompilerOptions$Reach;	 !"compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	$%reach	'()assumeMinimumCaptureZ	+,-maxSizeAfterInliningI/,com/google/javascript/jscomp/CompilerOptions	12)enforceMaxSizeAfterInlining45com/google/javascript/jscomp/FunctionArgumentInjector
6789:-com/google/javascript/jscomp/AbstractCompilergetAstAnalyzer,()Lcom/google/javascript/jscomp/AstAnalyzer;
3<=-(Lcom/google/javascript/jscomp/AstAnalyzer;)V	?@AfunctionArgumentInjector7Lcom/google/javascript/jscomp/FunctionArgumentInjector;C5com/google/javascript/jscomp/FunctionInjector$Builder
BEF2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
BHIJsafeNameIdSupplierV(Ljava/util/function/Supplier;)Lcom/google/javascript/jscomp/FunctionInjector$Builder;
BLMNassumeStrictThis:(Z)Lcom/google/javascript/jscomp/FunctionInjector$Builder;
BP(N
BR@Sp(Lcom/google/javascript/jscomp/FunctionArgumentInjector;)Lcom/google/javascript/jscomp/FunctionInjector$Builder;
BUVWbuild1()Lcom/google/javascript/jscomp/FunctionInjector;	YZ[injector/Lcom/google/javascript/jscomp/FunctionInjector;]^_apply()Ljava/util/function/Function;abcde
java/util/MapcomputeIfAbsentC(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;g:com/google/javascript/jscomp/InlineFunctions$FunctionState
6ijkgetLifeCycleStage@()Lcom/google/javascript/jscomp/AbstractCompiler$LifeCycleStage;
mnopq?setHasInnerFunctions
AB?
hasLocalNames
?DE?getGrandparent
?GHqisVar?JK?getDeclaringBlock
?MNqisBlock
?PQ?	getParent2
?TUqisGeneratorFunction
?WXqisAsyncFunction
?Z[\getBestJSDocInfoK(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/JSDocInfo;
^_`aq%com/google/javascript/rhino/JSDocInfo
isNoInline
^cdqisRequireInliningf6com/google/javascript/jscomp/NodeUtil$MatchDeclaration
ei;com/google/javascript/jscomp/NodeUtil$MatchShallowStatement
h
6lmngetCodingConvention1()Lcom/google/javascript/jscomp/CodingConvention;pqrst-com/google/javascript/jscomp/CodingConvention
isExported(Ljava/lang/String;)Z?vw?getNameNodepyz?isPropertyRenameFunction
?|}~#doesFunctionMeetMinimumRequirements7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Z
???qisName
????isNameDeclaration
????isNormalOrOptChainCall
???q	isGetElem
????getSecondChild
???qisStringLit
????	getString?call
????equals(Ljava/lang/Object;)Z
???q	isGetProp
????getAncestor%(I)Lcom/google/javascript/rhino/Node;
???qisCalla???entrySet%???iterator()Ljava/util/Iterator;????qjava/util/IteratorhasNext????next()Ljava/lang/Object;?java/util/Map$Entry????getValue???remove
f??q
hasReferences
???minimizeCost?(Lcom/google/javascript/jscomp/InlineFunctions$FunctionState;)Z
f??q	canRemove
???inliningLowersCost
f??qhasBlockInliningReferences
f??	setRemove
f??removeBlockInliningReferences
f???getChunk(()Lcom/google/javascript/jscomp/JSChunk;
f???
getReferences()Ljava/util/Collection;
f???getNamesToAlias*()Lcom/google/common/collect/ImmutableSet;
f??qgetReferencesThis
????r(Lcom/google/javascript/jscomp/JSChunk;Lcom/google/javascript/rhino/Node;Ljava/util/Collection;Ljava/util/Set;ZZ)Za???values???java/util/Collection
???!resolveInlineConflictsForFunction?(Lcom/google/javascript/jscomp/InlineFunctions$FunctionState;)V
???checkNotNull&(Ljava/lang/Object;)Ljava/lang/Object;2
??#findCalledFunctionsa???get
????	cloneTree
f???
setSafeFnNode%(Lcom/google/javascript/rhino/Node;)Vjava/util/LinkedHashSet

?4(Lcom/google/javascript/rhino/Node;Ljava/util/Set;)V
?isCandidateUsage%
?add
?
?getNext6com/google/javascript/jscomp/InlineFunctions$Reference	)requiresDecomposition
?maybePrepareCall<(Lcom/google/javascript/jscomp/FunctionInjector$Reference;)V??getKey
verifyAllReferencesInlinedQ(Ljava/lang/String;Lcom/google/javascript/jscomp/InlineFunctions$FunctionState;)V??
?!"#markFunctionsDeletedT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V	%&)inlined	()*callNode"Lcom/google/javascript/rhino/Node;,java/lang/IllegalStateException
?./?toStringTree1null345makeConcatWithConstantsJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
+78(Ljava/lang/String;)V
?:;qisDefaultValue
?=>qisDestructuringPattern
?@AqisLet
?CDqisConst
fGJSC_FAILED_REQUIRED_INLININGIAfunction {1} annotated @requireInlining could not be inlined here
KLMNO+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;Q)com/google/javascript/jscomp/CompilerPass	Signature_Ljava/util/Map;ELjava/util/Map;?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/function/Supplier;Lcom/google/javascript/jscomp/CompilerOptions$Reach;ZZI)VCodeLineNumberTableLocalVariableTablethis.Lcom/google/javascript/jscomp/InlineFunctions;Ljava/util/function/Supplier;LocalVariableTypeTable1Ljava/util/function/Supplier;
StackMapTable`java/util/function/SupplierMethodParameters?(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/util/function/Supplier;Lcom/google/javascript/jscomp/CompilerOptions$Reach;ZZI)VfnNameLjava/lang/String;processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VexternsrootfnNames(Lcom/google/common/collect/ImmutableSet;;fnbody!targetSizeAfterInlineExceedsLimitk(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/InlineFunctions$FunctionState;)Zt,Lcom/google/javascript/jscomp/NodeTraversal;
functionState;	jsDocInfo'Lcom/google/javascript/rhino/JSDocInfo;grandparentparentiLjava/util/Iterator;{Ljava/util/Iterator;>;
lowersCostnodepred"Lcom/google/common/base/Predicate;FLcom/google/common/base/Predicate;fsCallednameschangedG(Lcom/google/javascript/rhino/Node;)Ljava/util/Set;cH(Lcom/google/javascript/rhino/Node;Ljava/util/Set;)Vref8Lcom/google/javascript/jscomp/InlineFunctions$Reference;entryLjava/util/Map$Entry;eLjava/util/Map$Entry;lambda$hasNonInlinableParam$2input'lambda$updateFunctionStateForInlining$1n!lambda$getOrCreateFunctionState$0k
SourceFileInlineFunctions.javaNestMembers?.com/google/javascript/jscomp/InlineFunctions$1??com/google/javascript/jscomp/InlineFunctions$FunctionExpression?8com/google/javascript/jscomp/InlineFunctions$FunctionVar?:com/google/javascript/jscomp/InlineFunctions$NamedFunction?@com/google/javascript/jscomp/InlineFunctions$CallVisitorCallbackBootstrapMethods?
?????"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;??
????????
????
????
???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;?*Call site missed ().
 call: 
 parent:  InnerClassesReachBuilder
FunctionStateLifeCycleStageFindCandidateFunctions?3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackFindCandidatesReferencesCallVisitorInlineCallVisitorCallbackFunctionMatchDeclarationMatchShallowStatementEntry	Reference?7com/google/javascript/jscomp/FunctionInjector$ReferenceFunctionExpressionFunctionVar
NamedFunction?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup P
??RSRT!"Z[@A%()2),-UV??*?*?Y?	?
*?Y?	?+???,???-????*+?*-?#*?&*?**???0*?3Y+?5?;?>*?BY+?D,?G?K?O*?>?Q?T?X?WNXDEY&Z2[A]F_K`QbWcflumo?p?q?r?s?tXH?YZ?!"?I[?%?M)?()?,-\?I]^>?"6_@
@
@c?6_a!I%M(,Rb??VG*?
+?\?`?f?WwXYZcdacefVV	?*??h?l?r*?,?uY*?w?z*?
????*?,??Y**?
*????z*??*?
????*?
????N*?X-??*??*?
????*??*??*?,??Y*?
*???Y*?X?????z*???WJ|
~)?*?B?F?R?S?`?h?l?x?y?}???????X*?YZ?g*?h*`Hij\`Hik^
*(?%?a	gh
??Vw**???*??L+???+???+?¶ƙ??W???X*l*m*^?$?@alnoV?J+??N-??,?̹?:?ՙ???*?*??6-*?*??6`*?*???W*
??	???? ?"?.?8?XHJYZJpqJrsEt*4u*.v-8w-^?????'@a	prxyV?D+??N*-??:*+,-??*+????"??*?+??????????W
,CX4DYZDlzD{|=}d6rs^?C?fa	l{??V?P???	??+??:*??	??*?0?!?՚*?**?*?٣	????+?+????	?????*+?????j,?*?>? :?$???'??:?+?	?.?1?4?9??=*?&??@???C?F?7?̹I:?L?#?O????R?4?9???S???V???W?,
 "#$$%'.(>)D*I+J/R1X2d3j6u7z=???C?D?F?G?H?I?L?M?N?Q?R?X?Y?^_
`a'b0e5i=jBmJnOqX\	?V~?8?*
(?*PYZPlzP{|P}dPrs:?*\?V~?^??$?/%???)>al{}r?Vh+?YM,?,?]???W
tuX YZ?*??^
?^@a???Vh+?YM,?,?b???W
yzX YZ?*??^
?^@a?
B?V{**??L*????+?eY?g?hY?j?9???W???)?X*?*%?*^?$?@a?V?A+??M*??k,?o??*??k+?u?x??+??N*?X,-?{?W????.?0?7?X*AYZAlz:cd7
?*^	??al?V?*?OL*??r+???
+????+???
+??*??+???%*+?¦+?????+????????+???'+??????*??M,???
,??+???W>?????+?-?6?=?G?W?j?p???X p?*?}*~?*^
??(a}?V?B*?
????L+???,+???????fM,???
,??	+????ѱW??*?8?>?A?X *rsBYZ3??\3??^???(f??Vh*?
????L+???R+???????fM*,?̹??????,???*,??>?	+???,?Ú	+??????W2??*?:?=?D?J?N?T?^?d?g?X*J
?)*:rshYZY??\Y??^???-f???V?-*+?ƚ&+?ə+??+??+???*+?ƚ???W"?????'?)?+?X-YZ-rs^'ar??Vu%*?X+??+?̹?+??+??+??+?޶?W"??	?????!?X%YZ%rsar?V|+*?
????L+???+???fM*,????W?"?'?*?X"rs+YZ^???
?Vb*??W??L*+?4?9?W???X?*	??\	??a???VJ?+???
+???+?̹?M*,??N-?$?e-??:???C????:*?
???f:??Ù??*???????++?̹??????W:(F	V
cirwz?X>V!?sF1}d?YZ?rsr?*l?\l??^? ?%??F?ar?#Vj?Y?M+??,?,?WX YZ?*
?\
??a?R?
?V?<+???*??*??+*???	W*??M,?,+?,?M???W%'(%+.,3+;.X *?*<?*<?\<??^@???a	??R??V?_*?
????L+???I+???fM,??5,?ֹ?N-???"-???:??*?X???ۧ???W"5"6)7G8O9X;[=^>X G??"9rs_YZ^???#f?$???VD{*?
????L+???e+????M,???N,???f:?Ù;??:??r???r*-????*?? ????W2B"C,D7E?FFGNH[IbJiKwMzNX4F1lz,K}d7@rs"U??{YZ\"U??^3???G???f?@???V)Z,?ֹ?N-???I-???:?$?3?'?O:?+Y+?'?-?	0??-?2?6?????W"RS&T0U:Y=[V]Y^X40&?*8??ZYZZ}dZrs^[?
??=?f??00????f??00?????a	}r
??VJ*?9?
*?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy