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

com.google.javascript.jscomp.RewriteAsyncFunctions.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!
????7s
java/lang/Object()V
	
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;-com/google/javascript/jscomp/AbstractCompiler	2com/google/javascript/jscomp/RewriteAsyncFunctionscompiler/Lcom/google/javascript/jscomp/AbstractCompiler;'com/google/javascript/jscomp/AstFactory	
astFactory)Lcom/google/javascript/jscomp/AstFactory;'com/google/javascript/rhino/StaticScope	 	namespace)Lcom/google/javascript/rhino/StaticScope;"java/util/ArrayDeque
!	%&'contextStackLjava/util/Deque;

)*+createAstFactory+()Lcom/google/javascript/jscomp/AstFactory;

-./getTranspilationNamespace+()Lcom/google/javascript/rhino/StaticScope;
12?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/AstFactory;Lcom/google/javascript/rhino/StaticScope;)V	456transpiledFeatures8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;83com/google/javascript/jscomp/NodeTraversal$Callback
:;<=>0com/google/javascript/jscomp/TranspilationPassesprocessTranspile?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;[Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
:@AB!maybeMarkFeaturesAsTranspiledAway?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)VDEFGHjava/util/DequeisEmpty()Z
JKL
checkState(Z)V

NOPgetUniqueIdSupplier1()Lcom/google/javascript/jscomp/UniqueIdSupplier;
RSTUV*com/google/javascript/jscomp/NodeTraversalgetInput.()Lcom/google/javascript/jscomp/CompilerInput;
XYZ[\-com/google/javascript/jscomp/UniqueIdSuppliergetUniqueId@(Lcom/google/javascript/jscomp/CompilerInput;)Ljava/lang/String;^>com/google/javascript/jscomp/RewriteAsyncFunctions$RootContext
]`ak(Lcom/google/javascript/jscomp/RewriteAsyncFunctions;Lcom/google/javascript/rhino/Node;Ljava/lang/String;)VDcdepush(Ljava/lang/Object;)VDghipeek()Ljava/lang/Object;kAcom/google/javascript/jscomp/RewriteAsyncFunctions$LexicalContext
jmnogetContextForNode?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/RewriteAsyncFunctions$LexicalContext;
jqrsvisitQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
juvwgetContextRootNode$()Lcom/google/javascript/rhino/Node;Dyzipop
|u}Bcom/google/javascript/jscomp/RewriteAsyncFunctions$FunctionContext
???L com/google/javascript/rhino/NodesetIsAsyncFunction
??wgetLastChild
??H
isFromExterns
?????%com/google/javascript/jscomp/NodeUtilisEmptyBlock%(Lcom/google/javascript/rhino/Node;)Z
???createBlockG([Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???replaceWith%(Lcom/google/javascript/rhino/Node;)V
????markFunctionsDeletedT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/AbstractCompiler;)V	|???mustAddAsyncThisVariableZ	|???asyncThisAndArgumentsContextDLcom/google/javascript/jscomp/RewriteAsyncFunctions$FunctionContext;	|???uniqueIdLjava/lang/String;???makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;	|???
typeOfThis.Lcom/google/javascript/jscomp/AstFactory$Type;
???
createThisR(Lcom/google/javascript/jscomp/AstFactory$Type;)Lcom/google/javascript/rhino/Node;
??? createSingleConstNameDeclarationX(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???addChildToBack
R??wgetCurrentScript	?????>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	|???mustAddAsyncArgumentsVariable?
???createArgumentsAliasDeclaration6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;	|???superPropertyWrappersJLcom/google/javascript/jscomp/RewriteAsyncFunctions$SuperPropertyWrappers;
?????Hcom/google/javascript/jscomp/RewriteAsyncFunctions$SuperPropertyWrappersasCollection()Ljava/util/Collection;?????java/util/Collectioniterator()Ljava/util/Iterator;????Hjava/util/IteratorhasNext???inext?Kcom/google/javascript/jscomp/RewriteAsyncFunctions$SuperPropertyWrapperInfo
|???createWrapperArrowFunctionq(Lcom/google/javascript/jscomp/RewriteAsyncFunctions$SuperPropertyWrapperInfo;)Lcom/google/javascript/rhino/Node;	????wrapperFunctionName

???reportChangeToChangeScope	????ARROW_FUNCTIONS
??HisBlock
???createReturnF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???srcrefTreeIfMissing
createZeroArgGeneratorFunction?(Ljava/lang/String;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/jstype/JSType;)Lcom/google/javascript/rhino/Node;	??
GENERATORS

4createJscompAsyncExecutePromiseGeneratorFunctionCallo(Lcom/google/javascript/rhino/StaticScope;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;

?reportChangeToEnclosingScope	66com/google/javascript/jscomp/parsing/parser/FeatureSetBARE_MINIMUM	??ASYNC_FUNCTIONS
withz(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)com/google/javascript/jscomp/CompilerPassASYNC_ARGUMENTS
ConstantValue!$jscomp$async$arguments$
ASYNC_THIS$$jscomp$async$this$ASYNC_SUPER_PROP_GETTER_PREFIX'$jscomp$async$super$get$	SignatureVLjava/util/Deque;CodeLineNumberTableLocalVariableTablethis4Lcom/google/javascript/jscomp/RewriteAsyncFunctions;MethodParameterscreatee(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/RewriteAsyncFunctions;processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootshouldTraverses(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Z
parentContextCLcom/google/javascript/jscomp/RewriteAsyncFunctions$LexicalContext;nodeContextt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTables(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)VcontextconvertAsyncFunctions(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/jscomp/RewriteAsyncFunctions$FunctionContext;)V
arrowFunction!arrowFunctionDeclarationStatementenclosingScriptsuperPropertyWrapperInfoMLcom/google/javascript/jscomp/RewriteAsyncFunctions$SuperPropertyWrapperInfo;functionContextoriginalFunctionoriginalBodynewBodygeneratorFunction
SourceFileRewriteAsyncFunctions.javaNestMembersT4com/google/javascript/jscomp/RewriteAsyncFunctions$1VGcom/google/javascript/jscomp/RewriteAsyncFunctions$ParameterListContextBootstrapMethodsY
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;_$jscomp$async$this$a$jscomp$async$arguments$InnerClassesCallbackRootContextLexicalContextFunctionContexth,com/google/javascript/jscomp/AstFactory$TypeTypeFeatureSuperPropertyWrappersSuperPropertyWrapperInfoParameterListContexto%java/lang/invoke/MethodHandles$Lookupqjava/lang/invoke/MethodHandlesLookup17? "?#%?& 56&'()2*?1*?*+??
?*,???*-???*?!Y?#?$?+????%?0?,*1-.111 /
01*[*?(L*?,M?Y*+,?0?+??
?, 
 /23*e*?,?3?7Y*S?9*?,?3???+???, -.4565/	4678*?b-?6*?$?C?I*??M+?Q?W:*?$?]Y*,?_?b?,*?$?f?j:+,?l:?*?$?b?+*
??? ?4?7?E?N?U?`?,H ??E9:N;:b-.b<=b>5b?5@7(/
<>?rA*?)*?$?f?j:+,?p?t,?
*?$?xW?+????(?,4)-.)<=)>5)?5B:@?(j/
<>?CD*??,?{N-?~-??:-???%???*??????*????*????:??,???4*?,??????*?,????????+????*???,?Ǚ)*?,???????˶?+????*???,?϶ӹ?:???X????:,??:*?????:		??*???+??:

??*???
??*??ç?????!*??Y*???S????:*??:*???+???*???*?*?*??	??????W*??
?+?.??
????/?8?9?F?M?T?n?q?t?w??????
??
????'7@ E$O%T&]'k*{,~+?*?/?0?1,p?>E5?.F5	G5
?FHI?-.?<=?J??K5?L5FPM5TBN5@?8?K,?
??^%/	<JO*-
????3?+???PQRS|U]j??WX^X`bZ7Rc	]dje
|fgi?j@?k?lSUmnpr




© 2015 - 2024 Weber Informatics LLC | Privacy Policy