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

com.google.javascript.jscomp.ant.CompileTask.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?
org/apache/tools/ant/Task()VUTF-8	

,com/google/javascript/jscomp/ant/CompileTaskencodingLjava/lang/String;	!java/nio/charset/StandardCharsetsUTF_8Ljava/nio/charset/Charset;	
outputEncoding	9com/google/javascript/jscomp/CompilerOptions$LanguageMode	STABLE_IN;Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;	
 
languageIn	"#
STABLE_OUT	
%&languageOut	()*+,)com/google/javascript/jscomp/WarningLevelDEFAULT+Lcom/google/javascript/jscomp/WarningLevel;	
./,warningLevel	
123debugOptionsZ	56789-com/google/javascript/jscomp/CompilationLevelSIMPLE_OPTIMIZATIONS/Lcom/google/javascript/jscomp/CompilationLevel;	
;<9compilationLevel	>?@AB8com/google/javascript/jscomp/CompilerOptions$EnvironmentBROWSER:Lcom/google/javascript/jscomp/CompilerOptions$Environment;	
DEBenvironment	
GH3strictModeInput	
JK3manageDependencies	
MN3prettyPrint	
PQ3printInputDelimiter	
ST3preferSingleQuotes	
VW3generateExports	
YZ3replaceProperties	
\]3forceRecompile	
_`3angularPassbclosure.define.	
dereplacePropertiesPrefixgjava/util/ArrayList
f	
jkldefineParamsLjava/util/List;	
nolentryPointParams	
qrlexternFileLists	
tulsourceFileLists	
wxlsourcePaths	
z{lwarnings
}~
fromStringO(Ljava/lang/String;)Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;?#org/apache/tools/ant/BuildException???makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
???(Ljava/lang/String;)V

??parseLanguageMode?default
?????com/google/common/base/AsciiequalsIgnoreCase3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z?quiet	(??,QUIET?verbose	(??,VERBOSE?
?????java/lang/StringhashCode()IA
????equals(Ljava/lang/Object;)Z?CUSTOM	>??B??simple?advanced	5??9ADVANCED_OPTIMIZATIONS?
whitespace	5??9WHITESPACE_ONLY?	
???
outputFileLjava/io/File;	
??
outputWrapper	
???outputWrapperFile
?????java/nio/charset/CharsetforName.(Ljava/lang/String;)Ljava/nio/charset/Charset;?????java/util/Listadd? outputFile attribute must be set	?????java/util/logging/LevelOFFLjava/util/logging/Level;
?????%com/google/javascript/jscomp/CompilersetLoggingLevel(Ljava/util/logging/Level;)V

???createCompilerOptions0()Lcom/google/javascript/jscomp/CompilerOptions;

???createCompilerW(Lcom/google/javascript/jscomp/CompilerOptions;)Lcom/google/javascript/jscomp/Compiler;

???findExternFiles@(Lcom/google/javascript/jscomp/CompilerOptions;)Ljava/util/List;

???findSourceFiles()Ljava/util/List;

???isStale()Z????size???(II)Ljava/lang/String;

???log
????compileu(Ljava/util/List;Ljava/util/List;Lcom/google/javascript/jscomp/CompilerOptions;)Lcom/google/javascript/jscomp/Result;	3#com/google/javascript/jscomp/Resultsuccessjava/lang/StringBuilder
?	
toSource()Ljava/lang/String;
?

com/google/common/io/FilesasCharSourceK(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;

com/google/common/io/CharSourcereadjava/lang/Exception&Invalid output_wrapper_file specified.
?*(Ljava/lang/String;Ljava/lang/Throwable;)V.com/google/javascript/jscomp/CommandLineRunner!%output%
?#$%indexOf(Ljava/lang/String;)I
?'(?	substring
*+,insert.(ILjava/lang/String;)Ljava/lang/StringBuilder;
?./?length
?1(2(I)Ljava/lang/String;
456append-(Ljava/lang/String;)Ljava/lang/StringBuilder;85Invalid output_wrapper specified. Missing '%output%'.	:;<	sourceMap(Lcom/google/javascript/jscomp/SourceMap;

>?@flushSourceMap+(Lcom/google/javascript/jscomp/SourceMap;)V
BC
toString

EF?writeResultHCompilation failed.J/None of the files changed. Compilation skipped.	
LM?sourceMapOutputFile

OPQ	newWriterB(Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/io/BufferedWriter;
STUV
java/io/FilegetName
XYZ[\&com/google/javascript/jscomp/SourceMapappendTo+(Ljava/lang/Appendable;Ljava/lang/String;)V
^_`ajava/io/Writerclosecjava/lang/Throwable
befg
addSuppressed(Ljava/lang/Throwable;)Vijava/io/IOExceptionkCannot write sourcemap to file.m,com/google/javascript/jscomp/CompilerOptions
l
5pqrsetOptionsForCompilationLevel1(Lcom/google/javascript/jscomp/CompilerOptions;)V
5tur"setDebugOptionsForCompilationLevel
lwxysetEnvironment=(Lcom/google/javascript/jscomp/CompilerOptions$Environment;)V
l{|}setStrictModeInput1(Z)Lcom/google/javascript/jscomp/CompilerOptions;
l??setPrettyPrint(Z)V
l???setPrintInputDelimiter
l???setPreferSingleQuotes
l???setGenerateExports
l???
setLanguageIn>(Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;)V
l???setLanguageOut
l???setOutputCharset(Ljava/nio/charset/Charset;)V
(??rsetOptionsForWarningLevel
?????'com/google/common/collect/ImmutableListof+()Lcom/google/common/collect/ImmutableList;
?????.com/google/javascript/jscomp/DependencyOptionspruneLegacyForEntryPointsF(Ljava/lang/Iterable;)Lcom/google/javascript/jscomp/DependencyOptions;
????sortOnly2()Lcom/google/javascript/jscomp/DependencyOptions;
l???setDependencyOptions3(Lcom/google/javascript/jscomp/DependencyOptions;)V

??rconvertEntryPointParameters
l???setTrustedStrings
l???setAngularPass

??rconvertPropertiesMap

??rconvertDefineParameters????iterator()Ljava/util/Iterator;?????java/util/IteratorhasNext????next()Ljava/lang/Object;?(com/google/javascript/jscomp/ant/Warning
????getLevel+()Lcom/google/javascript/jscomp/CheckLevel;
???
getGroup
?????-com/google/javascript/jscomp/DiagnosticGroupsB(Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticGroup;
l???setWarningLevelZ(Lcom/google/javascript/jscomp/DiagnosticGroup;Lcom/google/javascript/jscomp/CheckLevel;)V	
??sourceMapFormat
?????com/google/common/base/Strings
isNullOrEmpty(Ljava/lang/String;)Z
?????-com/google/javascript/jscomp/SourceMap$FormatvalueOfC(Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceMap$Format;
l???setSourceMapFormat2(Lcom/google/javascript/jscomp/SourceMap$Format;)V	
??sourceMapLocationMapping?\|
????split((Ljava/lang/String;I)[Ljava/lang/String;?;7Ljava/util/List;3Ljava/util/List;;CodeLineNumberTableLocalVariableTablethis.Lcom/google/javascript/jscomp/ant/CompileTask;valuelanguage
StackMapTableMethodParameters
setWarningsetDebugsetCompilationLevelsetManageDependencies	setOutputsetOutputWrappersetOutputWrapperFilesetReplacePropertiesPrefixsetReplacePropertiessetEncodingsetOutputEncodingprettyprintsinglequotessetForceRecompile
addExterns((Lorg/apache/tools/ant/types/FileList;)V%Lorg/apache/tools/ant/types/FileList;
addWarning-(Lcom/google/javascript/jscomp/ant/Warning;)Vwarning*Lcom/google/javascript/jscomp/ant/Warning;
addEntryPoint)(Lorg/apache/tools/ant/types/Parameter;)V
entrypoint&Lorg/apache/tools/ant/types/Parameter;
addSourcesaddPath$(Lorg/apache/tools/ant/types/Path;)V!Lorg/apache/tools/ant/types/Path;executeeLjava/lang/Exception;prefixsuffixStartIsuffixpossourceLjava/lang/StringBuilder;result%Lcom/google/javascript/jscomp/Result;options.Lcom/google/javascript/jscomp/CompilerOptions;compiler'Lcom/google/javascript/jscomp/Compiler;externssourcesLocalVariableTypeTable;Ljava/util/List;outLjava/io/Writer;Ljava/io/IOException;level)Lcom/google/javascript/jscomp/CheckLevel;	groupNamegroup.Lcom/google/javascript/jscomp/DiagnosticGroup;tokens[Ljava/lang/String;lm>Lcom/google/javascript/jscomp/SourceMap$PrefixLocationMapping;
parentFileU'com/google/javascript/jscomp/CheckLevelW,com/google/javascript/jscomp/DiagnosticGroupcreateDefine(()Lorg/apache/tools/ant/types/Parameter;paramcreateEntryPointkeyLjava/lang/Object;pentryPointsBuilder1Lcom/google/common/collect/ImmutableList$Builder;bLcom/google/common/collect/ImmutableList$Builder;entryLjava/util/Map$Entry;propsLjava/util/Map;;Ljava/util/Map$Entry;5Ljava/util/Map;dblTempDnfe!Ljava/lang/NumberFormatException;isTrueisFalse	formatter/Lcom/google/javascript/jscomp/MessageFormatter;errorManager2Lcom/google/javascript/jscomp/ant/AntErrorManager;filesk(Lcom/google/javascript/jscomp/CompilerOptions;)Ljava/util/List;=()Ljava/util/List;fr3Lorg/apache/tools/ant/types/resources/FileResource;pathLjava/nio/file/Path;rc/Lorg/apache/tools/ant/types/ResourceCollection;iterLjava/util/Iterator;;Ljava/util/Iterator;l(Lorg/apache/tools/ant/types/ResourceCollection;)Ljava/util/List;Ljava/io/OutputStreamWriter;lastRunJsourcesLastModifiedexternsLastModifiedfilefileNamesrc	fileListsLjava/util/List<*>;?java/lang/ObjectP(Ljava/util/List<*>;)JfileLastModifiedformatsetSourceMapOutputFilesetSourceMapLocationMappingmapping
SourceFileCompileTask.javaBootstrapMethods?
?????$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;?*Unrecognized 'languageIn' option value ()?'Unrecognized 'warning' option value ()?+Unrecognized 'environment' option value ()?+Unrecognized 'compilation' option value ()?$Compiling  file(s) with  extern(s)?"Created missing parent directory ?,Unexpected @define value for name=; value=?,Unexpected property value for key=; value=? Compiled JavaScript written to InnerClassesLanguageModeEnvironmentFormatPrefixLocationMappingBuilderEntry?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1
 &/,23
<9EBK3N3Q3T3W3Z3]3`3e?????klolrl	ul	xl
{l?M??3H30=?*?*?	*??*??*?!?$*?'?-*?0*?4?:*?=?C*?F*?I*?L*?O*?R*?U*?X*?[*?^*a?c*?fY?h?i*?fY?h?m*?fY?h?p*?fY?h?s*?fY?h?v*?fY?h?y?
jjN
Oklm&n+o2p9q>rCsHtMuRvWw\xayfzl{w|?}?~??????
?g*?|L+???Y*?????+?
??	?????A	*+???$?

??		??H?+???
*?'?-?7?+???
*???-?$?+???
*???-???Y+??????
"?	???&?/?9?G?HH
x??{+M>,???53ʷw)q*,????>?,????>?.$*?=?C?*???C???Y+??????
?X?_?b?i?l?z?{{?$?
		?
?>*?0?

??3??H?+???
*?4?:?7?+???
*???:?$?+???
*???:???Y+??????
"?	???&?/?9?G?HH
|?>*?F?

??H3H?>*?I?

??3?>*+???

????>*+???

???>*+?ñ

????>*+?c?

???>*?X?

??3?>*+?	?



?A	*+?Ƶ?

	
		??>*?L?

 3 ??>*?O?

!3!??>*?R?

 !"3"#?>*?[?

'(]3]??>*?^?

+,`3`??>*?U?

23W3W$%D*?p+??W?

9:?&?'(D*?y+??W?

EF)*)+,D*?m+??W?

NO-.-/%D*?s+??W?

UV?&?01D*?v+??W?

\]?2?3?(*???
??Yѷ???Ӹ?*??L*+??M*+??N*??:*??
*?[??*??-??????,-+??:????Y,??:*???&**?ò?????:??Y??*???V*?? ?"6?9*???&:?)W ?-`6	*??	?0:

?3W???Y7????9?*?9?=*?A?D???YG????
*I???x??
?%abegh"j(k.m<nEoOnRq\sdtqvxx?{?y?z?~????????????????????????? ?'?z?
45?'6?78	?9
?G:8q?;<\?=>(?@"AB(Cl.?DlE(CF.?DFI?*
l????O
l????N?
??
?@?I*?K??NM+,*???R?W,? ,?]?N,?,?]?:-?d-??M??Yj,???"b'+.b8;h
"???"?8?;?<?H?*-GH<4III;<4?"
X^b?
X^bb?Bh;??t?lY?nL*?:+?o*?0?*?:+?s+*?C?v+*?F?zW+*?L?~+*?O??+*?R??+*?U??+*???+*?$??+*???*?-+??+*?I??????????*+??+??+*?^??*?X?*+??*+??*?y??M,????,????N-??:-??:??:???Y?????+?ק??*?۸ޚ+*?۸??*??ޚ,*?????M??Y,2,2??N+??Y-S???+*??	*?K?%*?K?M,??*,??+,??+?
?.?????'?0?8?@?H?P?X?`?h?p?q?x??????????????????????????????????????$?2?A?I?P?X?_?j?r?\	?)JK?#L?MN?/)*$OP2QRXS?tl?@\?l?al?
ll? ???9
l??T?V?

l2?(S?XYQ?!Y?#L*?i+??W+?
???
Z.[YQ?!Y?#L*?m+??W+?
???
Z.?r?F*?i??M,???5,???!N-?$:-?%:*+?(?*?,????ȱ
#)5BE4#\)]%^.FF?@?
?7???r?E?/M*?m??N-???-???!:,?$?3?9W???*?I?+,?>?????
&	"/29;AD*"
^.EE?@A_`EA_a?:??#??r't*?A?EM,?I?ON-???Y-???R:?T??:?W:*?c?Y?**?c?-?0:*+?(?*?\??????
*
 (!4"=$I%W'c(p+s,>4<\=3](Hbctt?@ldeE(Hbfldg?J??[??*+?	?6-???M]-??6_-??6??
+,?a?!-???e9+,?k?:+,-???q6?K-?t?+,-?t?v?a6?2-?y?+,-?y?{?~6?-?f?+,-?f???k6?0@Co
Z79
:;=&>0A9B@FCCEENIQJ[KgLmMtN?O?P?Q?R?U\	9hiE	jk>l35m3???@?\?]?3?&	Ro
?
?\???%??Y??M+??,??N??Y-*??:,??,?
YZ	[\]#^4%%?@ABnopq????D?fY?hM,*+????W*?p??N-???-????:,*????W???,?
bce2f?gBi*2
?&DD?@<rlE<rF????#?s???b?fY?hL*?s??M,???,????N+*-????W???*?v??M,???,????N+*-????W???+?
"mo%p1q4sQt]u`w*%?&Q?2bZrlEZrF????!?	??!t??Y?fY?hM+??N-???B-????:?????????????:,*?	?Ƹ¹?W???,?
&	???#?*?A?T?W?>#1uvAwxYYyzQrlJ{|EQrFJ{}????Gy~??l+?ȸ̰M??Y,?Ͽh
??	? 		4I?@Hh?sF?>s*?????**???????Y??Y*????*???M,+??W,?ާN,?ާ:-?d-??
M??Y,?Ͽ**???????5;BbCGJbTWh
6
?
????5?;?B?T?W?X?a?r?*5GX	4Iss;5?#
??b?
??bb?Bh	;???9*????@**?s??**?v???B**?p??7!??
????
??
??&?*91????&???3@??
?	A+??:??????:???V??:*?A??:?66		?2	2:
*?A??:?SY
??:?? ??A?	??ͧJ???B??:??:?66		?%	2:
?SY
?:?? ??A?	??ڧ?K ?
F???%?,?M?X?e?o?u???????????????pXw?e
??M"?
,I?&?
????
?8w2?b]???l???E???j?
??4	
??????5
????	
??????(
?????
??d*??@	???Y??@?
????????????>*+?۱

??????>*+?K?

??M?M??>*+??

???????8	???????????????????:l?@>l?@?X?D	?X?:??RJ?	???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy