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

com.google.javascript.jscomp.deps.JsFileRegexParser.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?
2com/google/javascript/jscomp/deps/JsFileLineParser.(Lcom/google/javascript/jscomp/ErrorManager;)V		
3com/google/javascript/jscomp/deps/JsFileRegexParserGOOG_PROVIDE_REQUIRE_PATTERNLjava/util/regex/Pattern;
java/util/regex/Patternmatcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;	googMatcherLjava/util/regex/Matcher;	ES6_MODULE_PATTERN	
es6Matcher	 !"googMatcherBufferLjava/lang/String;	$%&'(.com/google/javascript/jscomp/deps/ModuleLoaderEMPTY0Lcom/google/javascript/jscomp/deps/ModuleLoader;	*+(loader	-./seenLoadModuleZ	12/includeGoogBase
456isSupported()Z
89:;<$com/google/common/base/Preconditions
checkState(Z)V>java/io/StringReader
=@A(Ljava/lang/String;)V
CDEparseReaderh(Ljava/lang/String;Ljava/lang/String;Ljava/io/Reader;)Lcom/google/javascript/jscomp/deps/DependencyInfo;Gjava/util/ArrayList
FIJ()V	LMNprovidesLjava/util/List;	PQNrequires	STNtypeRequires	VW/fileHasProvidesOrRequires	YZ/hasExternsAnnotation	\]/hasNoCompileAnnotation
$_`aresolveO(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;	cdefile;Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;	ghijk>com/google/javascript/jscomp/deps/JsFileRegexParser$ModuleType
NON_MODULE@Lcom/google/javascript/jscomp/deps/JsFileRegexParser$ModuleType;	mnk
moduleType	pqrloggerLjava/util/logging/Logger;	tuvwxjava/util/logging/LevelFINELjava/util/logging/Level;
z{|}~java/util/logging/Logger
isLoggable(Ljava/util/logging/Level;)Z???makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
z??Afine
???doParse%(Ljava/lang/String;Ljava/io/Reader;)V	g??k
ES6_MODULE
?????9com/google/javascript/jscomp/deps/ModuleLoader$ModulePathtoModuleName()Ljava/lang/String;?????java/util/Listadd(Ljava/lang/Object;)Z?java/util/LinkedHashMap
?I	?????5com/google/javascript/jscomp/deps/JsFileRegexParser$1I$SwitchMap$com$google$javascript$jscomp$deps$JsFileRegexParser$ModuleType[I
g???ordinal()I?module?goog?????
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?es6
?????6com/google/javascript/jscomp/deps/SimpleDependencyInfobuilderf(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/SimpleDependencyInfo$Builder;
?????>com/google/javascript/jscomp/deps/SimpleDependencyInfo$BuildersetProvidesX(Ljava/util/Collection;)Lcom/google/javascript/jscomp/deps/SimpleDependencyInfo$Builder;
????setRequires
????setTypeRequires
????setLoadFlagsQ(Ljava/util/Map;)Lcom/google/javascript/jscomp/deps/SimpleDependencyInfo$Builder;
????setHasExternsAnnotationC(Z)Lcom/google/javascript/jscomp/deps/SimpleDependencyInfo$Builder;
????setHasNoCompileAnnotation
????build:()Lcom/google/javascript/jscomp/deps/SimpleDependencyInfo;???F(Lcom/google/javascript/jscomp/deps/DependencyInfo;)Ljava/lang/String;	g??kGOOG_PROVIDE	g??kGOOG_MODULE	???errorManager+Lcom/google/javascript/jscomp/ErrorManager;	?????'com/google/javascript/jscomp/CheckLevelWARNING)Lcom/google/javascript/jscomp/CheckLevel;
????toString	$???MODULE_CONFLICT-Lcom/google/javascript/jscomp/DiagnosticType;?java/lang/String
?????$com/google/javascript/jscomp/JSErrormake|(Ljava/lang/String;IILcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;?????)com/google/javascript/jscomp/ErrorManagerreportR(Lcom/google/javascript/jscomp/CheckLevel;Lcom/google/javascript/jscomp/JSError;)V?@provideGoog
???contains(Ljava/lang/CharSequence;)Z@externs
@nocompile
	java/util/regex/Matcherreset
6find	8com/google/javascript/jscomp/deps/DependencyInfo$RequireBASE:Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;func
?group
?charAt(I)C

setModuleTypeC(Lcom/google/javascript/jscomp/deps/JsFileRegexParser$ModuleType;)Z!args
#$?
parseJsString&requireType
?()?equals
+,-googRequireSymbolN(Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;/goog.loadModule(function(
?123
startsWith(Ljava/lang/String;)Z5provide7require9
addDependency;declareModuleId
?=>6isEmpty@java/lang/CharSequence
?BCDjoinE(Ljava/lang/CharSequence;[Ljava/lang/CharSequence;)Ljava/lang/String;
FG3applyGoogMatcherIimportKexport
MN(I)Ljava/lang/String;Pgoog:
?RSN	substring	UV"filePath	XYZlineNumI
\]?start
?_`aresolveJsModulec(Ljava/lang/String;Ljava/lang/String;II)Lcom/google/javascript/jscomp/deps/ModuleLoader$ModulePath;
?cdaresolveModuleAsPath
fgh	es6Import`(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/DependencyInfo$Require;	jkES6_EXPORT_PATTERN
mn6	lookingAt	pq/shortcutMode
stuvw"com/google/common/base/CharMatcher
whitespace&()Lcom/google/common/base/CharMatcher;
syzmatchesAllOf|;~goog.setTestOnly?"goog.module.declareLegacyNamespace
?????java/lang/ClassgetName
z???	getLogger.(Ljava/lang/String;)Ljava/util/logging/Logger;??(?:^|;)(?:[a-zA-Z0-9$_,:{}\s]+=)?\s*goog\.(?provide|module|require|requireType|addDependency|declareModuleId)\s*\(\s*(?.*?)\s*\)
???compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;?R^(?:import|export)\b\s*(?:[a-zA-Z0-9$_*,{}\s]+\bfrom\s*|)(?:['"]([^'"]+)['"])?\s*;?	^export\bPROVIDES_GOOG_COMMENT
ConstantValueEXTERNS_COMMENTNOCOMPILE_COMMENTBUNDLED_GOOG_MODULE_START	Signature$Ljava/util/List;LLjava/util/List;CodeLineNumberTableLocalVariableTablethis5Lcom/google/javascript/jscomp/deps/JsFileRegexParser;MethodParameterssetIncludeGoogBase8(Z)Lcom/google/javascript/jscomp/deps/JsFileRegexParser;includeRuntimeInvisibleAnnotations8Lcom/google/errorprone/annotations/CanIgnoreReturnValue;setModuleLoaderg(Lcom/google/javascript/jscomp/deps/ModuleLoader;)Lcom/google/javascript/jscomp/deps/JsFileRegexParser;	parseFilej(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/deps/DependencyInfo;closureRelativePathfileContentsLjava/io/Reader;	loadFlagsLjava/util/Map;dependencyInfo2Lcom/google/javascript/jscomp/deps/DependencyInfo;LocalVariableTypeTable5Ljava/util/Map;
StackMapTable?0com/google/javascript/jscomp/deps/DependencyInfotype	es6Module
googModuleprovideGoogModuleConflictprovideEs6ModuleConflictgoogEs6ModuleConflictparseJsDocCommentLinelinearg
methodName	firstCharCisDeclareModuleNamespaceisModule	isProvideprovidesNamespace	isRequirelineHasProvidesOrRequires
Exceptions?Acom/google/javascript/jscomp/deps/JsFileLineParser$ParseException	parseLinepathlineHasProvidesOrRequiresWords
SourceFileJsFileRegexParser.java/Lcom/google/common/annotations/GwtIncompatible;valuejava.util.regexNestMembersBootstrapMethods?
?????$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;?Parsing Source: ?
DepInfo: InnerClasses
ModulePath
ModuleTypeBuilderRequireParseException?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1qrk?"???"??"??"?.!"MN??QN??TN??W/Z/]/+(denk./2/??5*+?*?
??*?
??*
?*?#?)*?,*?0??"?ehk#u*?/?4??5??5???????I
?3?7*?0*??????
??
?/????????*+?)*??
?????+(?+?????W*+,?=Y-???B????*??V"?"?"?
V??DE?( *?FY?H?K*?FY?H?O*?FY?H?R*?U*?X*?[**?)+?^?b*?f?l*?,*
??o?s?y??o+???*+-??*?l???*?K*?b????W??Y??:??*?l??.?7(????W?????W?,+??*?K??*?O??*?R????*?X??*?[?̶?:?o?s?y??o???????!???!?&?+?0?<?C?H?N?Z?f?l?v???????????????????????????????????> ?? V" ?" ???????????????f ?,??J??
V????
?+?֥
*?l?֦?=+???
*?l????>+?٥
*?l?٦?6??*?,?*?ֵl???*?,??6???6?
*?,???6?
??.*?ܲ?*?b??????Y*?b??S????*+?l??J??.?F?V?]?_?v???????????	??
?R?????k?5/.??/F??/vg?/?X?/?A?/?-@?@?@?@?
@?
@?*???3??B*?0?+????*?K???W?+???
*?X?+???
*?[???*
(-/9>@ ?B??B?"???G3?(=*?+?W*??
?=*?0?*?U?*?U*?O?
??W*??N-?6d??6?m??6p??6?
???6r??6	?*?,?*?ٶ6?*?ֶ6?	?]**? ??":
	?<%-?'?*?R
??W?/?
?'?%
?*:*?O??W?*?K
??W?????z$&'(*%+*,70B1I2W3j4x5?6?8?9?<?=?@?B?D?E?F?GIJKM#P&Q?z7?J?"
B??"I???W??/j??/x??/???/???/	(??(?"&?/?E?+??@?@?@?@?@?
	?-????????3???=+.?0?*?,+4???*+6??? +????+8???
+:????>*??
$?e?d?"?????"??/HK?/?(?0@?#
?C??)??<@????	56?????J?S'?????o????????????i??.14@AV?????s???g??????:?$?g?@????	??	?????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy