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

com.google.javascript.jscomp.IsolatePolyfills.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/IsolatePolyfillsjs/polyfills.txt
	
5com/google/javascript/jscomp/resources/ResourceLoaderloadTextResource7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;

:com/google/javascript/jscomp/PolyfillUsageFinder$Polyfills	fromTableP(Ljava/lang/String;)Lcom/google/javascript/jscomp/PolyfillUsageFinder$Polyfills;
n(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/PolyfillUsageFinder$Polyfills;)V
java/lang/Object()V$jscomp$lookupPolyfilledValue
 !com/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	#$%jscompLookupMethod"Lcom/google/javascript/rhino/Node;	'()usedPolyfillMethodLookupZ	+,)isTempVarInitialized	./0compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	234	polyfills?@,com/google/javascript/jscomp/CompilerOptionsgetPropertyCollapseLevelF()Lcom/google/javascript/jscomp/CompilerOptions$PropertyCollapseLevel;	BCDEFBcom/google/javascript/jscomp/CompilerOptions$PropertyCollapseLevelALLDLcom/google/javascript/jscomp/CompilerOptions$PropertyCollapseLevel;
BHIJequals(Ljava/lang/Object;)Z
LMNcreateCollapsedName$()Lcom/google/javascript/rhino/Node;
PQNcreateJSCompPolyfillsAccess	ST%jscompPolyfillsObjectV$jscomp$polyfills	XYZ[\ com/google/javascript/rhino/NodeIS_CONSTANT_NAME'Lcom/google/javascript/rhino/Node$Prop;
X^_`putBooleanProp+(Lcom/google/javascript/rhino/Node$Prop;Z)Vb$jscomp3
efggetpropX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
ijkfindAllInjectedPolyfills*()Lcom/google/common/collect/ImmutableSet;mjava/util/ArrayList
lp0com/google/javascript/jscomp/PolyfillUsageFinder
o
stuvwjava/util/ObjectsrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;yz{accept/(Ljava/util/List;)Ljava/util/function/Consumer;
o}~traverseIncludingGuardedB(Lcom/google/javascript/rhino/Node;Ljava/util/function/Consumer;)V?java/util/LinkedHashSet
??????java/util/Listiterator()Ljava/util/Iterator;?????java/util/IteratorhasNext()Z????next()Ljava/lang/Object;?>com/google/javascript/jscomp/PolyfillUsageFinder$PolyfillUsage
???Nnode
???Jcontains
????polyfill=()Lcom/google/javascript/jscomp/PolyfillUsageFinder$Polyfill;	?????9com/google/javascript/jscomp/PolyfillUsageFinder$PolyfilllibraryLjava/lang/String;
?????java/lang/StringisEmpty	????nativeSymbol
???&com/google/common/collect/ImmutableSet
???rewritePolyfillC(Lcom/google/javascript/jscomp/PolyfillUsageFinder$PolyfillUsage;)V
???Jadd
??"cleanUpJscompLookupPolyfilledValue
????builder2()Lcom/google/common/collect/ImmutableSet$Builder;
6???getNodeForCodeInsertionJ(Lcom/google/javascript/jscomp/JSChunk;)Lcom/google/javascript/rhino/Node;?/com/google/javascript/jscomp/IsolatePolyfills$1
???b(Lcom/google/javascript/jscomp/IsolatePolyfills;Lcom/google/common/collect/ImmutableSet$Builder;)V
?????*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
????k.com/google/common/collect/ImmutableSet$Builderbuild
X???isCall?$jscomp$polyfill?$jscomp.polyfill
X??N
getFirstChild
X???matchesQualifiedName(Ljava/lang/String;)Z
<???getOutputFeatureSet:()Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	????
nativeVersion
?????6com/google/javascript/jscomp/parsing/parser/FeatureSetvalueOfL(Ljava/lang/String;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
????;(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Z
X??N	getParent	???+FILES_ALLOWED_UNQUALIFIED_POLYFILL_ACCESSES(Lcom/google/common/collect/ImmutableSet;
X???getSourceFileName()Ljava/lang/String;
????%com/google/javascript/jscomp/NodeUtilisLValue%(Lcom/google/javascript/rhino/Node;)Z
X?isAssign
XisFirstChildOf
? ?
?
indexOf(I)I	?kind@Lcom/google/javascript/jscomp/PolyfillUsageFinder$Polyfill$Kind;	>com/google/javascript/jscomp/PolyfillUsageFinder$Polyfill$KindSTATIC
H
XN	cloneTree
!string
 getelemh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
X"#$
srcrefTreeF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
X&'(replaceWith%(Lcom/google/javascript/rhino/Node;)V
X*+?isOptChainCall
-.(rewritePolyfillInCall
X01?	getString
X34$srcref
X67NremoveFirstChild
?9:isOptChainNode
<=>createPolyfillMethodLookupi(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Z)Lcom/google/javascript/rhino/Node;
6@A(reportChangeToEnclosingScope
6CDEgetAstAnalyzer,()Lcom/google/javascript/jscomp/AstAnalyzer;
GHIJ(com/google/javascript/jscomp/AstAnalyzermayEffectMutableState
LM$createTempName
OP assign
RS commaUcall
WXgstartOptChainGetprop
XZ[(insertAfter]$jscomp$polyfillTmp
_`$var
Xbc(addChildToFront
efNtrueNode
hUii(Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;	Xkl\	FREE_CALL
6nopgetSynthesizedExternsInput.()Lcom/google/javascript/jscomp/CompilerInput;
rstuv*com/google/javascript/jscomp/CompilerInput
getAstRootS(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/rhino/Node;x2com/google/javascript/jscomp/SyntacticScopeCreator
wz{2(Lcom/google/javascript/jscomp/AbstractCompiler;)V
w}~createScopel(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/Scope;)Lcom/google/javascript/jscomp/Scope;
?????"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var?=Failed to find synthetic $jscomp$lookupPolyfilledValue extern
?????$com/google/common/base/PreconditionscheckNotNull8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
???N
getParentNode
????
deleteNodeT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V?2src/com/google/javascript/jscomp/js/util/global.js?:src/com/google/javascript/jscomp/js/util/shouldpolyfill.js?9src/com/google/javascript/jscomp/js/es6/util/construct.js
????of`(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;?)com/google/javascript/jscomp/CompilerPass
POLYFILL_TEMP
ConstantValue	Signature;CodeLineNumberTableLocalVariableTablethis/Lcom/google/javascript/jscomp/IsolatePolyfills;MethodParametershasPropertyCollapsingRun
StackMapTableRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;
collapsedNamejscompprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vusage@Lcom/google/javascript/jscomp/PolyfillUsageFinder$PolyfillUsage;externsrootinjectedPolyfillspolyfillUsagesLjava/util/List;visitedNodesLjava/util/LinkedHashSet;LocalVariableTypeTableRLjava/util/List;=Ljava/util/LinkedHashSet;actualPolyfills0Lcom/google/common/collect/ImmutableSet$Builder;lastInjectedNodeDLcom/google/common/collect/ImmutableSet$Builder;>()Lcom/google/common/collect/ImmutableSet;isJSCompPolyfillCalljscompPolyfillName
methodNamereceiver
polyfillUsage;Lcom/google/javascript/jscomp/PolyfillUsageFinder$Polyfill;polyfillAccessparent
isGlobalClasspolyfilledMethodthisNodereceiverDotCallcalleeisCalleeOptChainrequiresTempdeclsyntheticExternsRootsyntheticExternsScope$Lcom/google/javascript/jscomp/Scope;	externVar"Lcom/google/javascript/jscomp/Var;syntheticCodeScopesyntheticVar
SourceFileIsolatePolyfills.javaNestMembersBootstrapMethods?
?????"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;?(Ljava/lang/Object;)V	????InnerClasses	PolyfillsPropertyCollapseLevel?%com/google/javascript/rhino/Node$PropProp
PolyfillUsagePolyfillBuilder?3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackKind?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup ?/034T%???\$%(),)????
{?T*+??????B	A?C???/0?/??A*?*??"*?&*?**+?-*,?1+?5?;?A?G>*?	?K??O?R??.F9
;<GH!I"J/K0L@M?*A??A/0A34/?)?-?:6?6X?	/3??
MN?BU?K*?W?]*??QRS?
?%
QN?Ga?K*?W?]*c?d??XYZ??%?????*?hN?lY?n:?oY*?-*?1?q,Y?rW?x?|??Y??:??:???P????:????????????????-??????????*??????W???*????Bacd!e-g6hUiYldpsst?v?w?x?z?{?HU>???????%??%??????6e??? ??????6e???'??XX?????B???	??jk?#??L*?-??M*?-,??Y*+?ĸ?+?Ͱ???
??? #????
?%????????-+?Қ?*?-?5?;?A?G?է?M+??,?ܬ???	??!?$?? -??-U%$	???	A??U???	?+??M*?-?5??,?????+??N+????:??-??????-?????
-???+?:.?	?,?
????6?-*?R???-?!?%?K?Қ?)?-??*-?,?*-?/?-?2:-?5:-*-?8?;-?!?%*?-????~??	?????"?+?8?9?B?Q?R?X?w?|??????????????????????????????\	??%??%?????????"??%+??%X? ?wq?)?"
???XX?!?@? &??.(??	?+?/?+?2M+?5N+?86*?-?B-?F6?'*+?K:?-?N*?,?;?Q:?-:*-?,?;:+?8?T?V+?!:?T?d+?!:+?%?Y??N
$)02<EMPR]$d&u(?*?+?,?zJ?%0?%r?%?????%??%??%z?)$m?)]4?%PA?%??%?'?MXXX?XX?
X??M$??1*?*?"*?*\??^+?!M*?-??,?a\?+?2??/012&8? ?%1??14%?&?4=>??N*?&?$*?"??XY+SY,SY?dS?g:?*?"??XY+SY,S?g:?j?]??@B	C*FBHKI?>'U%N??N?%N?%N:)BU%?	*?X?
??:??8?*?-?m*?-?qL?wY*?-?y+?|M,*?"?/?????????N-??*?-??*?&???wY*?-?y*?-???|:*?"?/????:???*?-????>VWX Y%[1Z8]C_J`Kc[edfuizj?l?>???x?% g??8O??d#??u????KX???:????0?????????	????????????R
o?B<?@?X?@?o??o????	????	??@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy