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

com.google.javascript.jscomp.PhaseOptimizer.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		
+com/google/javascript/jscomp/PhaseOptimizerprintAstHashcodesZ	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
-com/google/javascript/jscomp/AbstractCompiler	getJsRoot$()Lcom/google/javascript/rhino/Node;	jsRoot"Lcom/google/javascript/rhino/Node;	tracker1Lcom/google/javascript/jscomp/PerformanceTracker; java/util/ArrayList
	#$%passesLjava/util/List;	'(inLoop	*+,
lastChangeI
./0
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;	2345,com/google/javascript/jscomp/CompilerOptions&useSizeHeuristicToStopOptimizationLoop	3	289,optimizationLoopMaxIterations	8<0com/google/javascript/jscomp/PhaseOptimizer$Loop
;>?0(Lcom/google/javascript/jscomp/PhaseOptimizer;)VABCDEjava/util/Listiterator()Ljava/util/Iterator;GHIJKjava/util/IteratorhasNext()ZGMNOnext()Ljava/lang/Object;Q(com/google/javascript/jscomp/PassFactory
PSTKisRunInFixedPointLoop
;VWX
addLoopedPass-(Lcom/google/javascript/jscomp/PassFactory;)V
;Z[KisPopulatedA]^_add(Ljava/lang/Object;)Z
abXaddOneTimePassd5com/google/javascript/jscomp/PhaseOptimizer$NamedPass
cfgZ(Lcom/google/javascript/jscomp/PhaseOptimizer;Lcom/google/javascript/jscomp/PassFactory;)V	ijk
validityCheck*Lcom/google/javascript/jscomp/PassFactory;m+com/google/javascript/jscomp/ChangeVerifier
lop2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
lrstsnapshotQ(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ChangeVerifier;	vwxchangeVerifier-Lcom/google/javascript/jscomp/ChangeVerifier;z)com/google/javascript/jscomp/CompilerPass
|}~K%com/google/javascript/jscomp/PlatformisThreadInterrupted?java/lang/RuntimeException?java/lang/InterruptedException
?
???(Ljava/lang/Throwable;)Vy???processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
??KhasHaltingErrors
???toSource6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
?????java/lang/StringhashCode()I???makeConcatWithConstants'(Ljava/lang/String;I)Ljava/lang/String;	???loggerLjava/util/logging/Logger;
?????java/util/logging/Loggerinfo(Ljava/lang/String;)V
P???create\(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/CompilerPass;
l???checkRecordedChanges7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)V?java/lang/IllegalStateException???&(Ljava/lang/String;)Ljava/lang/String;
???*(Ljava/lang/String;Ljava/lang/Throwable;)V
?	???lastRunsLjava/util/Map;	???currentPass7Lcom/google/javascript/jscomp/PhaseOptimizer$NamedPass;?????
java/util/Mapget&(Ljava/lang/Object;)Ljava/lang/Object;?java/lang/Integer
????intValue
????? com/google/javascript/rhino/Node
getChangeTime
?????java/lang/ClassgetName()Ljava/lang/String;
????	getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;?&com/google/javascript/jscomp/PassNames?peepholeOptimizations
?????'com/google/common/collect/ImmutableListof=(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList;	???CODE_REMOVING_PASSES)Lcom/google/common/collect/ImmutableList;	Signature=Ljava/util/List;[Ljava/util/Map;
START_TIME
ConstantValue=Lcom/google/common/collect/ImmutableList;	MAX_LOOPSdOPTIMIZE_LOOP_ERRORLjava/lang/String;?;Fixed point loop exceeded the maximum number of iterations.c(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/PerformanceTracker;)VCodeLineNumberTableLocalVariableTablethis-Lcom/google/javascript/jscomp/PhaseOptimizer;comp
maxIterations
StackMapTable?/com/google/javascript/jscomp/PerformanceTrackerMethodParametersconsume(Ljava/util/List;)Vfactory	factoriescurrentLoop2Lcom/google/javascript/jscomp/PhaseOptimizer$Loop;LocalVariableTypeTable;?(Ljava/util/List;)VRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;addFixedPointLoop4()Lcom/google/javascript/jscomp/PhaseOptimizer$Loop;loopsetValidityChecksetPrintAstHashcodes(Z)Vpass+Lcom/google/javascript/jscomp/CompilerPass;externsrootmaybePrintAstHashcodeshashCodeMsgpassNamemaybeRunValidityCheckY(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VeLjava/lang/RuntimeException;hasScopeChanged%(Lcom/google/javascript/rhino/Node;)Zn
timeOfLastRun
SourceFilePhaseOptimizer.javaNestMembers&9com/google/javascript/jscomp/PhaseOptimizer$ProgressRange(?com/google/javascript/jscomp/PhaseOptimizer$ScopedChangeHandler*1com/google/javascript/jscomp/PhaseOptimizer$StateBootstrapMethods-
./0?1$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;3AST hashCode after : 5"Validity checks failed for pass: InnerClassesLoop	NamedPass
ProgressRangeScopedChangeHandlerState=%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup y??$%??(jk??????+,?,??5wx?????,??????9,???\*?*?*+?
*+??*,?*?Y?!?"*?&*?)*+?-?1?6+?-?7>?d?*?:?	*d?:??>W*	XYZ[&\+]0^2_;`CaMbUd[f?*\??\?\C?,??U?	??l?;Y*?=M+?@N-?F?C-?L?P:?R?,?U?$,?Y?*?",?\W?;Y*?=M*?`???,?Y?*?",?\W??2s	t$u,v5x<yGzP|V~Y?`?k??*$2kl??l%	cl??;G?$P???	bX?L*?"?cY*+?e?\W??
?????k

?R?;Y*?=L*?"+?\W+???	?????	
X?X*+?h*?lY*?
?n*??q?u????????jkj?>*???
?????????H*?"?@N-?F?7-?L?y:?{???Y??Y?????+,??*??????Ʊ?"??$?3?<?C?D?G??*&H??HH??
G?(y??	???!*??+*?
,??????N??-??????
?? ??*?!??!?!? 	??<*?h??*?h*?
??,-??*?u+*????:??Y+??????&)??"????&?)?+?;??4+<??<?<<?`?
?K?2*?
??????????/*?&??*??*?????ƶ?=?+??????
	? /??/ ,?
	?@!?8?иֳ?ܸ޳??$G
HG"#$%;'c)+,2,462;7c8%9':);@<>@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy