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

com.google.javascript.jscomp.TranspilationPasses.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!
????7P
java/lang/Object()V
	
(com/google/javascript/jscomp/PassFactorybuilder4()Lcom/google/javascript/jscomp/PassFactory$Builder;es6RewriteModule
0com/google/javascript/jscomp/PassFactory$BuildersetNameF(Ljava/lang/String;)Lcom/google/javascript/jscomp/PassFactory$Builder;applyk(Lcom/google/javascript/jscomp/PreprocessorSymbolTable$CachedInstanceFactory;)Ljava/util/function/Function;
setInternalFactoryQ(Ljava/util/function/Function;)Lcom/google/javascript/jscomp/PassFactory$Builder;
 build,()Lcom/google/javascript/jscomp/PassFactory;
"#$%&,com/google/javascript/jscomp/PassListBuildermaybeAdd-(Lcom/google/javascript/jscomp/PassFactory;)V	()*+,0com/google/javascript/jscomp/TranspilationPasses#injectTranspilationRuntimeLibraries*Lcom/google/javascript/jscomp/PassFactory;	(./,es6RewriteModuleToCjs	(12,es6RelativizeImportPaths	(45,peepholeTranspilationsPasses7featureRemovalPasses
(9:;createUnifiedFeatureRemovalPassl(Ljava/lang/String;Lcom/google/javascript/jscomp/CompilerOptions;)Lcom/google/javascript/jscomp/PassFactory;	=>?@A>com/google/javascript/jscomp/parsing/parser/FeatureSet$FeaturePUBLIC_CLASS_FIELDS@Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;
CDEFG,com/google/javascript/jscomp/CompilerOptionsneedsTranspilationOfC(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Z	=IJACLASS_STATIC_BLOCK	=LMACLASSES	(OP,es6RewriteClassExtends	(RS,es6ExtractClasses	(UV,rewriteClassMembers	=XYALOGICAL_ASSIGNMENT	([\,%rewriteLogicalAssignmentOperatorsPass	=^_AOPTIONAL_CHAINING	(ab,rewriteOptionalChainingOperator	=deANULL_COALESCE_OP	(gh,rewriteNullishCoalesceOperator
CjklgetInstrumentAsyncContext()Z	(no,instrumentAsyncContext	=qrAFOR_AWAIT_OF	=tuAASYNC_GENERATORS	(wx,rewriteAsyncIteration	=z{AOBJECT_LITERALS_WITH_SPREAD	=}~AOBJECT_PATTERN_REST	(??,rewriteObjectSpread	=??AOBJECT_DESTRUCTURING	?????Scom/google/javascript/jscomp/Es6RewriteDestructuring$ObjectDestructuringRewriteModeREWRITE_OBJECT_RESTULcom/google/javascript/jscomp/Es6RewriteDestructuring$ObjectDestructuringRewriteMode;
(???getEs6RewriteDestructuring?(Lcom/google/javascript/jscomp/Es6RewriteDestructuring$ObjectDestructuringRewriteMode;)Lcom/google/javascript/jscomp/PassFactory;	=??AASYNC_FUNCTIONS	(??,rewriteAsyncFunctions	=??AEXPONENT_OP	(??,rewriteExponentialOperator	(??,es6ConvertSuper	?????6com/google/javascript/jscomp/parsing/parser/FeatureSetBARE_MINIMUM8Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	=??AARRAY_DESTRUCTURING
????with{([Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
C???needsTranspilationFrom;(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Z	????REWRITE_ALL_OBJECT_PATTERNS	=??AARROW_FUNCTIONS	(??,es6RewriteArrowFunction	(??,es6RewriteClass	=??AREST_PARAMETERS	=??ASPREAD_EXPRESSIONS	(??,es6RewriteRestAndSpread	=??ACOMPUTED_PROPERTIES	=??AMEMBER_DECLARATIONS	=??ATEMPLATE_LITERALS	(??,lateConvertEs6ToEs3	=??AFOR_OF	(??,es6ForOf	=??A!BLOCK_SCOPED_FUNCTION_DECLARATION	(??,%rewriteBlockScopedFunctionDeclaration	=??ALET_DECLARATIONS	=??ACONST_DECLARATIONS	(??,rewriteBlockScopedDeclaration	=??A
GENERATORS	(??,rewriteGenerators?,postTranspileUnsupportedFeaturesRemovedCheck
(???2createPostTranspileUnsupportedFeaturesRemovedCheck>(Ljava/lang/String;)Lcom/google/javascript/jscomp/PassFactory;	(??,rewritePolyfills?Es6RewriteDestructuring??t(Lcom/google/javascript/jscomp/Es6RewriteDestructuring$ObjectDestructuringRewriteMode;)Ljava/util/function/Function;
?????%com/google/javascript/jscomp/NodeUtilgetFeatureSetOfScript\(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
??containsAtLeastOneOf
-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
C	
getOutputFeatureSet:()Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;
?
?contains
 com/google/javascript/rhino/Node
getFirstChild$()Lcom/google/javascript/rhino/Node;
lisScript
$com/google/common/base/Preconditions
checkState(Z)V
( ! doesScriptHaveAnyOfTheseFeatures](Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Z
#$%&'*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
)*getNext
,-lhasHaltingErrors
/01markFeatureNotAllowedC(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)V
?345removeFeatureFromAllScripts?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;Lcom/google/javascript/jscomp/AbstractCompiler;)V
?789removeFeaturesFromAllScripts?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/AbstractCompiler;)V
;<getAllowableFeatures
C>?@getChunkOutputType@()Lcom/google/javascript/jscomp/CompilerOptions$ChunkOutputType;	BCDEFLcom/google/javascript/jscomp/CompilerOptions$ChunkOutputType;	=HIAMODULES
?KLMwithout?(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;[Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	=OPAIMPORT_META	=RSADYNAMIC_IMPORT
?UVWgetFeatures*()Lcom/google/common/collect/ImmutableSet;
YZ[\l&com/google/common/collect/ImmutableSetisEmpty
?^L_r(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;ajava/lang/IllegalStateExceptioncdemakeConcatWithConstants<(Lcom/google/common/collect/ImmutableSet;)Ljava/lang/String;
`gh(Ljava/lang/String;)VjkW(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Ljava/util/function/Function;mn()Ljava/util/function/Function;	=pqA
REGEXP_FLAG_D
?s?tz(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;	=vwABIGINT	=yzANUMERIC_SEPARATOR	=|}ABINARY_LITERALS	=?AOCTAL_LITERALS	=??A
REGEXP_FLAG_U	=??A
REGEXP_FLAG_Y	????ES5	=??AES3_KEYWORDS_AS_IDENTIFIERS	=??AKEYWORDS_AS_PROPERTIES	=??AGETTER	=??ASETTER	=??ASTRING_CONTINUATION	=??ATRAILING_COMMA
(???createFeatureRemovalPassv(Ljava/lang/String;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/PassFactory;???process\(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/CompilerPass;
(???,postTranspileCheckUnsupportedFeaturesRemoved2(Lcom/google/javascript/jscomp/AbstractCompiler;)V????(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)Lcom/google/javascript/jscomp/CompilerPass;
(???!maybeMarkFeaturesAsTranspiledAway?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;)V?3com/google/javascript/jscomp/InstrumentAsyncContext
??G
???3(Lcom/google/javascript/jscomp/AbstractCompiler;Z)V?-com/google/javascript/jscomp/RewritePolyfills
C??lgetRewritePolyfills
C??lgetIsolatePolyfills
???4(Lcom/google/javascript/jscomp/AbstractCompiler;ZZ)V??,es6SplitVariableDeclarations?mCes6InjectRuntimeLibrariesm?mHlateConvertEs6m?mM(Es6RewriteBlockScopedFunctionDeclarationmP Es6RewriteBlockScopedDeclarationm?m\mb mh!mCodeLineNumberTableLocalVariableTablethis2Lcom/google/javascript/jscomp/TranspilationPasses;addEs6ModulePass}(Lcom/google/javascript/jscomp/PassListBuilder;Lcom/google/javascript/jscomp/PreprocessorSymbolTable$CachedInstanceFactory;)Vpasses.Lcom/google/javascript/jscomp/PassListBuilder;preprocessorTableFactoryLLcom/google/javascript/jscomp/PreprocessorSymbolTable$CachedInstanceFactory;MethodParameters addTranspilationRuntimeLibraries1(Lcom/google/javascript/jscomp/PassListBuilder;)VaddEs6ModuleToCjsPassaddEs6RewriteImportPathPassaddTranspilationPasses_(Lcom/google/javascript/jscomp/PassListBuilder;Lcom/google/javascript/jscomp/CompilerOptions;)Voptions.Lcom/google/javascript/jscomp/CompilerOptions;
StackMapTableaddRewritePolyfillPassrewriteModescript"Lcom/google/javascript/rhino/Node;
featureSetfeaturesprocessTranspile?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;[Lcom/google/javascript/jscomp/NodeTraversal$Callback;)Vcallback5Lcom/google/javascript/jscomp/NodeTraversal$Callback;
singleRootcompiler/Lcom/google/javascript/jscomp/AbstractCompiler;combinedRootfeaturesToRunFor	callbacks6[Lcom/google/javascript/jscomp/NodeTraversal$Callback;languageOutFeatures
DeprecatedRuntimeVisibleAnnotationsLjava/lang/Deprecated; maybeMarkFeatureAsTranspiledAway?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet$Feature;)VrootfeaturetranspiledFeaturesdiffoutputFeaturescurrentFeaturespassNameLjava/lang/String;featuresToRemovefeaturesToMarkRemoved;lambda$createPostTranspileUnsupportedFeaturesRemovedCheck$8;lambda$createPostTranspileUnsupportedFeaturesRemovedCheck$7v(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns!lambda$createFeatureRemovalPass$6?(Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/CompilerPass;!lambda$createFeatureRemovalPass$5?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/parsing/parser/FeatureSet;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vlambda$static$4lambda$static$3#lambda$getEs6RewriteDestructuring$2?(Lcom/google/javascript/jscomp/Es6RewriteDestructuring$ObjectDestructuringRewriteMode;Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/CompilerPass;lambda$static$1peepholeTranspilationsLjava/util/List;LocalVariableTypeTableNLjava/util/List;lambda$addEs6ModulePass$0?(Lcom/google/javascript/jscomp/PreprocessorSymbolTable$CachedInstanceFactory;Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/CompilerPass;
SourceFileTranspilationPasses.javaBootstrapMethods?
?????"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;)Ljava/lang/Object;?
(?????
(????
???d?$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;?.Unsupported feature(s) leaked to output code:?
(????
(????G(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V?
(????
(????
(????
????com/google/javascript/jscomp/Es6RewriteModulesToCommonJsModules?
???5com/google/javascript/jscomp/Es6RelativizeImportPaths?
?????2com/google/javascript/jscomp/RewriteAsyncFunctionse(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/RewriteAsyncFunctions;?
?????2com/google/javascript/jscomp/RewriteAsyncIteratione(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/jscomp/RewriteAsyncIteration;?
???0com/google/javascript/jscomp/RewriteObjectSpread?
???:com/google/javascript/jscomp/Es7RewriteExponentialOperator?
???>com/google/javascript/jscomp/Es6RewriteClassExtendsExpressions?
???.com/google/javascript/jscomp/Es6ExtractClasses?
???0com/google/javascript/jscomp/RewriteClassMembers?
???,com/google/javascript/jscomp/Es6RewriteClass?
??;com/google/javascript/jscomp/Es6RenameVariablesInParamLists
?4com/google/javascript/jscomp/Es6RewriteArrowFunction
(??	
(
??

?9com/google/javascript/jscomp/Es6SplitVariableDeclarations
?,com/google/javascript/jscomp/Es6ConvertSuper
?@com/google/javascript/jscomp/InjectTranspilationRuntimeLibraries
?4com/google/javascript/jscomp/Es6RewriteRestAndSpread
?2com/google/javascript/jscomp/LateEs6ToEs3Converter 
!?".com/google/javascript/jscomp/Es6ForOfConverter$
%?&Ecom/google/javascript/jscomp/Es6RewriteBlockScopedFunctionDeclaration(
)?*=com/google/javascript/jscomp/Es6RewriteBlockScopedDeclaration,
-?.1com/google/javascript/jscomp/Es6RewriteGenerators0
1?2Bcom/google/javascript/jscomp/RewriteLogicalAssignmentOperatorsPass4
5?64com/google/javascript/jscomp/PreprocessorSymbolTableCachedInstanceFactoryFeatureB4com/google/javascript/jscomp/Es6RewriteDestructuringObjectDestructuringRewriteModeE3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackChunkOutputTypeIBcom/google/javascript/jscomp/CompilerOptions$BrowserFeaturesetYearBrowserFeaturesetYearL%java/lang/invoke/MethodHandles$LookupNjava/lang/invoke/MethodHandlesLookup!(5,/,2,?,x,?,?,P,S,V,?,1,?,?,o,?,?,+,?,?,?,?,?,?,\,b,h,Z/*??[ \]^	_`Ze*?
?+????!?[%&'(3%4\abcde	ac	fgZ6*?'?!?[
9:\abea	hgZ6*?-?!?[
=>\abea	igZ6*?0?!?[
AB\abea	jkZt*?3?!*6+?8?!+?SFYI_JgKjLpOvP~Q?R?V?W?X?Y?]?^?_?`?g?h?i?j?m?p?q?r?s?vwxy|}~"(?.?6?9???E?M?P?V?\?d?g?m????R"???????????????????????????????????????????????????????????????????????????????????????????????????????#???'???+???/???3???7?;J	<	?=?	=?@@?AC@D#F	BCG@?A<HCJ@KMO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy