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

com.google.javascript.jscomp.RewriteJsonToModule.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?
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V		
0com/google/javascript/jscomp/RewriteJsonToModulecompiler/Lcom/google/javascript/jscomp/AbstractCompiler;java/util/LinkedHashMap

	packageJsonMainEntriesLjava/util/Map;
&com/google/common/collect/ImmutableMapcopyOf9(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;
 com/google/javascript/rhino/NodeisScript()Z
!"#$%$com/google/common/base/Preconditions
checkState(Z)V
'()*+*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V	-./012com/google/javascript/jscomp/RewriteJsonToModule$1,$SwitchMap$com$google$javascript$rhino$Token[I
345getToken%()Lcom/google/javascript/rhino/Token;
789:;!com/google/javascript/rhino/Tokenordinal()I
=>hasOneChild	@ABJSON_UNEXPECTED_TOKEN-Lcom/google/javascript/jscomp/DiagnosticType;Djava/lang/String
FGHIJ$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
LMNOP-com/google/javascript/jscomp/AbstractCompilerreport)(Lcom/google/javascript/jscomp/JSError;)V
RSTvisitScriptQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V
VWisQuotedStringKey
YZ;	getLineno
\];	getCharno
_`asetLinenoCharno&(II)Lcom/google/javascript/rhino/Node;
'cdreportCodeChange
fgh
getFirstChild$()Lcom/google/javascript/rhino/Node;
jkisExprResult
mnopq%com/google/javascript/rhino/JSDocInfobuilder1()Lcom/google/javascript/rhino/JSDocInfo$Builder;s#Suppresses undefined var goog error
uvwxy-com/google/javascript/rhino/JSDocInfo$BuilderrecordFileOverview(Ljava/lang/String;)Z{
undefinedVars
u}~recordSuppression(Ljava/lang/String;)V
u???build)()Lcom/google/javascript/rhino/JSDocInfo;
???setJSDocInfoK(Lcom/google/javascript/rhino/JSDocInfo;)Lcom/google/javascript/rhino/Node;
??hgetFirstFirstChild
??hdetach
??hremoveFirstChild
'???getInput.()Lcom/google/javascript/jscomp/CompilerInput;
?????*com/google/javascript/jscomp/CompilerInputgetPath=()Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
?????9com/google/javascript/jscomp/deps/ModuleLoader$ModulePathtoModuleName()Ljava/lang/String;
?????com/google/javascript/rhino/IRname6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
???srcrefF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
????varh(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
???addChildToFront%(Lcom/google/javascript/rhino/Node;)V?goog?provide
????getpropX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
????string
????calli(Lcom/google/javascript/rhino/Node;[Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;
????
exprResult
???srcrefTreeIfMissing
????
getSourceFile+()Lcom/google/javascript/jscomp/SourceFile;
?????'com/google/javascript/jscomp/SourceFilegetName?
/package.json
C??yendsWith
??isObjectLit
L???
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
?????,com/google/javascript/jscomp/CompilerOptionsgetPackageJsonEntryNames()Ljava/util/List;?????java/util/Listiterator()Ljava/util/Iterator;????java/util/IteratorhasNext????next()Ljava/lang/Object;
?????%com/google/javascript/jscomp/NodeUtilgetFirstPropMatchingKey
??isStringLit
C??;length?package.json
C	substring(II)Ljava/lang/String;
?	getString	makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;browser
Cequals(Ljava/lang/Object;)Z
!$(ZLjava/lang/Object;)V
 processBrowserFieldAdvancedUsage7(Ljava/lang/String;Lcom/google/javascript/rhino/Node;)V
isStringKey
!"isFalse$.com/google/javascript/jscomp/deps/ModuleLoader&./
C()y
startsWith
C+,(I)Ljava/lang/String;.$jscomp$browser$skiplisted
01hgetNext3JSC_JSON_UNEXPECTED_TOKEN5Unexpected JSON token
789:;+com/google/javascript/jscomp/DiagnosticTypeerrorS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;=)com/google/javascript/jscomp/CompilerPass	Signature5Ljava/util/Map;2(Lcom/google/javascript/jscomp/AbstractCompiler;)VCodeLineNumberTableLocalVariableTablethis2Lcom/google/javascript/jscomp/RewriteJsonToModule;MethodParametersgetPackageJsonMainEntries*()Lcom/google/common/collect/ImmutableMap;P()Lcom/google/common/collect/ImmutableMap;processG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vt,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTabledirNameLjava/lang/String;entry	entryNamepossibleMainEntriesLjava/util/List;jsdoc/Lcom/google/javascript/rhino/JSDocInfo$Builder;
jsonObject
moduleName	inputPathLocalVariableTypeTable$Ljava/util/List;valuepathreplacementchild
SourceFileRewriteJsonToModule.javaNestMembersBootstrapMethodsm
nopq$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;sInnerClassesAbstractPostOrderCallbackw3com/google/javascript/jscomp/NodeTraversal$CallbackCallbackBuilder
ModulePath|%java/lang/invoke/MethodHandles$Lookup~java/lang/invoke/MethodHandlesLookup!<AB>?@AU*?*+?*?
Y???B23	45CDEFGHA2*???B8CDE>IJKAW,?? *?,*?&?BABCC DELMNMF	LNOPAdв,,?2?6.??
5XXXXXXX[~,?G@IGJ\LbNcWfZt[?`?a?f?j?m?n?pC*?DE?QR?SM?TMU
?@
F
QSTSTA?V,??G?L?X?[?m?p?s?????????????????????.?1?9?F?N?Q?U?Cp@VW?hXM
?qYW	??Z[VDEVQRVSM(.\]G^MX?_W??`Wa??ZbU;??	'uCC???3C?5C??F	QSA;?,?eN-?}-?e:-?????? ??? -?:%?'?%???*:???+???-:*?+??
W-?/N????B2?	??.?4???L?T?b?g?{???CHlcM4GdWgeW~fM?DE?VW?XMU?? @? CBC?F	VXgA-
24?6???B'('hij-klrt2'u	v'x	-umy	?#z{}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy