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

com.google.javascript.jscomp.CrossChunkMethodMotion.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()V		
3com/google/javascript/jscomp/CrossChunkMethodMotioncompiler/Lcom/google/javascript/jscomp/AbstractCompiler;	idGenerator*Lcom/google/javascript/jscomp/IdGenerator;
-com/google/javascript/jscomp/AbstractCompiler
getChunkGraph-()Lcom/google/javascript/jscomp/JSChunkGraph;	
chunkGraph+Lcom/google/javascript/jscomp/JSChunkGraph;7com/google/javascript/jscomp/AnalyzePrototypeProperties
`(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/JSChunkGraph;ZZZ)V	!"#analyzer9Lcom/google/javascript/jscomp/AnalyzePrototypeProperties;	%&'noStubFunctionsZ
)*+createAstFactory+()Lcom/google/javascript/jscomp/AstFactory;	-./
astFactory)Lcom/google/javascript/jscomp/AstFactory;
12345)com/google/javascript/jscomp/JSChunkGraph
getChunkCount()I
789processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
;<=getAllNameInfo()Ljava/util/Collection;
?@AmoveMethods(Ljava/util/Collection;)V
CDEFG(com/google/javascript/jscomp/IdGeneratorhasGeneratedAnyIds()ZIJKLMjava/util/Collectioniterator()Ljava/util/Iterator;OPQRGjava/util/IteratorhasNextOTUVnext()Ljava/lang/Object;X@com/google/javascript/jscomp/AnalyzePrototypeProperties$NameInfo
WZ[GisReferenced
W]^GreadsClosureVariables
W`abgetDeepestCommonModuleRef(()Lcom/google/javascript/jscomp/JSChunk;	defNULL_COMMON_MODULE_ERROR-Lcom/google/javascript/jscomp/DiagnosticType;hjava/lang/String
jklmn$com/google/javascript/jscomp/JSErrormakeh(Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
pqrreport)(Lcom/google/javascript/jscomp/JSError;)V
WtuvgetDeclarations()Ljava/util/Deque;xyz{Mjava/util/DequedescendingIterator}>com/google/javascript/jscomp/AnalyzePrototypeProperties$SymbolIcom/google/javascript/jscomp/AnalyzePrototypeProperties$PrototypeProperty
???tryToMovePrototypeMethod?(Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$NameInfo;Lcom/google/javascript/jscomp/JSChunk;Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$PrototypeProperty;)V?Kcom/google/javascript/jscomp/AnalyzePrototypeProperties$ClassMemberFunction
???tryToMoveMemberFunction?(Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$NameInfo;Lcom/google/javascript/jscomp/JSChunk;Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$ClassMemberFunction;)V?chunk_method_stubbing??var JSCompiler_stubMap = [];function JSCompiler_stubMethod(JSCompiler_stubMethod_id) {  return function() {    return JSCompiler_stubMap[JSCompiler_stubMethod_id].apply(        this, arguments);  };}function JSCompiler_unstubMethod(    JSCompiler_unstubMethod_id, JSCompiler_unstubMethod_body) {  return JSCompiler_stubMap[JSCompiler_unstubMethod_id] =       JSCompiler_unstubMethod_body;}
???parseSyntheticCodeH(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
?????%com/google/javascript/jscomp/NodeUtilmarkNewScopesChangedT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V
???getNodeForCodeInsertionJ(Lcom/google/javascript/jscomp/JSChunk;)Lcom/google/javascript/rhino/Node;
????? com/google/javascript/rhino/NoderemoveChildren$()Lcom/google/javascript/rhino/Node;
????addChildrenToFront%(Lcom/google/javascript/rhino/Node;)V
???reportChangeToEnclosingScope~???
getRootVar$()Lcom/google/javascript/jscomp/Var;
????G com/google/javascript/jscomp/VarisGlobal
W??GreferencesSuper~???getValue
????	getParent
???G
isFunction
???GisGetterDef
???GisSetterDef~??bgetChunk
1???	dependsOnO(Lcom/google/javascript/jscomp/JSChunk;Lcom/google/javascript/jscomp/JSChunk;)Z
???hasUnmovableRedeclaration?(Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$NameInfo;Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$Property;)Z
???GisMemberFunctionDef	W???nameLjava/lang/String;
???)movePrototypeObjectLiteralMethodShorthandY(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
???GisStringKey
???"movePrototypeObjectLiteralProperty
???GisAssign
?????$com/google/common/base/Preconditions
checkState(ZLjava/lang/Object;)V
??9 movePrototypeDotMethodAssignment
???GisObjectLit
????isSecondChildOf%(Lcom/google/javascript/rhino/Node;)Z
????
getFirstChild
???GisQualifiedName
????	getString()Ljava/lang/String;?	prototype
gequals(Ljava/lang/Object;)Z
??detach
??	cloneTree


'com/google/javascript/jscomp/AstFactorytypeR(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/AstFactory$Type;


createGetProp?(Lcom/google/javascript/rhino/Node;Ljava/lang/String;Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;

createAssignStatementh(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
C 5newId
"#$createStubCallG(Lcom/google/javascript/rhino/Node;I)Lcom/google/javascript/rhino/Node;
?&'?replaceWith
)*$createUnstubCall
?,-GisExprResult

/0?createEmpty
?23?getOnlyChild
?56?getLastChild
?89getEnclosingScript
?;<=getFeatureSetOfScript\(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
??@AaddFeaturesToScript?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/AbstractCompiler;)V

CDEcreateStringKeyX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;GJSCompiler_stubMethod

IJKcreateNameWithUnknownType6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;

MNOcreateNumber%(D)Lcom/google/javascript/rhino/Node;

QRS
createCall?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AstFactory$Type;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;UJSCompiler_unstubMethod
??
?XY?getDefinitionNode
?[\?!isEs6ConstructorMemberFunctionDef
??
?_`?getNameNode
bcd"moveClassInstanceMethodWithoutStubi(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
fgdmoveClassInstanceMethodWithStub
?ij?
checkArgument
?lmncheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;
?pqGisClassMembers
?stGisClass
?vw?	cloneNode
?yzcopyTypeFrom

|}createPrototypeAccess
??getEnclosingStatement
????insertAfterxJ?@com/google/javascript/jscomp/AnalyzePrototypeProperties$Property????? JSC_INTERNAL_ERROR_MODULE_DEPEND?null deepest common module
?????+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;?)com/google/javascript/jscomp/CompilerPassSTUB_METHOD_NAME
ConstantValueUNSTUB_METHOD_NAMESTUB_DECLARATIONSRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;^(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/IdGenerator;ZZ)VCodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/CrossChunkMethodMotion;canModifyExternsMethodParameters
externRoot"Lcom/google/javascript/rhino/Node;root
StackMapTablesymbol@Lcom/google/javascript/jscomp/AnalyzePrototypeProperties$Symbol;deepestCommonModuleRef&Lcom/google/javascript/jscomp/JSChunk;declarationsLjava/util/Iterator;nameInfoBLcom/google/javascript/jscomp/AnalyzePrototypeProperties$NameInfo;firstScriptallNameInfoLjava/util/Collection;hasStubDeclarationLocalVariableTypeTableVLjava/util/Iterator;ZLjava/util/Collection;?$com/google/javascript/jscomp/JSChunk	Signature](Ljava/util/Collection;)V
destParentpropKLcom/google/javascript/jscomp/AnalyzePrototypeProperties$PrototypeProperty;valuevalueParentownerDotPrototypeDotPropNamedefinitionStatementstubIdIstubCall
unstubCallpropNamefunctionNode	stringKeyprototypeObjectLiteral
assignNodeownerDotPrototypeNodeassignStatementParentoriginalDefinitionPlaceholdernewDefinitionStatementnewDefinitionPlaceholdermemberFunctionDeforiginalScriptoriginalDefinitiondestinationParent
classNameNodeclassMemberFunctionMLcom/google/javascript/jscomp/AnalyzePrototypeProperties$ClassMemberFunction;rootVar"Lcom/google/javascript/jscomp/Var;definitionNodemethodDefinitionclassMembers	classNodeclonedNameNode classNameDotPrototypeDotPropNamedefinitionStatementNodestubDefinitionStatementclassDefiningStatement!classNameDotPrototypeDotPropName2
statementNode	otherPropBLcom/google/javascript/jscomp/AnalyzePrototypeProperties$Property;
SourceFileCrossChunkMethodMotion.javaInnerClassesNameInfoSymbolPrototypePropertyClassMemberFunctionProperty?,com/google/javascript/jscomp/AstFactory$TypeType!?
ef"#&'./???F???T?????????9*?*+?*,?
*+??*?Y+*??? *?$*+?(?,??"OP	QRS*V0W8X?49??999?'9&'??&89?s *??0?*? +,?6**? ?:?>??^_`b?  ?? ?? ????	??@A?"?*?
?B=+?HN-?N??-?S?W:?Y?????\?????_:?*??c?g?i?o????s?w:?N???S?|:?~?*?~??????*?????????d*?$?A?=*?
?B?3*?????N-*???*???:-????*?????jfg#h+l.o6p9s@tEuVvYyezo{{|?}?~????????????????????\	{-??@k??eF??#????$?????????????'?eF??????.
?O?W
???O?-|????D?????????-???-??????+????-??:??:??????????*?,-???ǙV+-?˙?*?,??:?ϙ*+???֧,?ڙ*+???ݧ????*???V?????&?-?7???E?F?W?_?`?j?r????????????Hj@??????????????&???-~???	?&??? ???
???????
 -??-??-??:??????:??????:??????????:????????????*?$?L?W*???*?,?+-?	?:-?W*?,-??:	,	?*?,???`*?
?6*-?!:	-	?%*???*?,?+-?	?:
*-?(:*?,
??:,?*?,?????'?????)?0?2?I?L?S?U?]?o?r?y???????????????????????????????????????$?????	?T???K??	?)??
? ???? ?? ?? ?? ??????0???S?????F???@?$?@?T?\?
????9???,??,??,??N-???,-???-??-??:?+-??*?$?*??:?W*???+?*?+???c*?
?6*?,?.:,?%?:?1?4:*,?!:		?%*???*,?(:

?%+?*?+????n
%+4;BHQW_b k$t%z&?'?)?*?.?/?0?4?5?6?7?9?zB??kW??tN???A???7???.??	???
?????????
???+????? ?@?@??_?	??????K-??-??-??:??????:??????:??????????:?????????????7:*?$?W?W*???*?,?+-?	?:	*?,	-???:
,
?,?:*??>*?,???y*?
?6	*-	?!:
*?,+
?B?%*???*?,?+-?	?:*-?	?(:*?,??:
,
?,?:*??>*?,?????-DEFGH)I0J2KIJLLSMUN]OoMrQyS?U?V?Z?[?\?^?_?`?a?b?a?c?d?e?g?h?i?mnop%r*s/t5u8v?uBxJz???/??	???
?m??	?d??
9??-??/??
K??K??K??K??=??,??0??S???y????!?F???@?$?@?f??u?
???#$??	**?,*?,F?H+?	??Y*?,??LS?P+???????"?&?)?? *??*??*???	??*$??	.*?,*?,T?H+?	??Y*?,??LSY+S?P+???????&?*?-?? .??.??.???	?????X|-?V:?????-?W:?Ϛ??Z??+????*?,-?]?Ǚ;+-?˙?*?,??:?^:*?$?*?a?
*?e??N?????"?#?+?,?3?4?C?K?L?V?]?d?q?{??RV%??]??|??|??|??|??v??b????????$???	?
???cd???,??,?h,???k??:?o????:?r??,?7:,?W*???,?1?k??:+?u?x:*?,*?,?{,???	?:	?W*?,	?,?:
-
?-?:*??>*?-????f????%?/?5?:?C?O?Z?d?h?m?p?u?{??????????????????p???????????????%???5s??OY??ZN??u3??	???
?
???gd?7?,??,?h,???k??:?o????:?r??*?
?6+?u?x:*?,*?,?{,??,?	?:*,?!:	*?,	?,?:
?~:
??,?7:,?W*????:
,?1?k??:?W*?(:*?,
?,?:-?-?:*??>*?-?????"????%/8CM	Q
UX]f
nrw~??????? ?!?#?$?%?&?'?&?(?)?????????????????%???8???C???]???f???	wr??
~k???^???I??
?=???-??????
???????W*?s??M,?N?E,?S?|N-???1-??:+?%+?????+???????????&	,-$.*213A4P5R8U9?**(??5??W??W????
O?G??	????-
?????c??&'&???2W?|?~??????
?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy