
com.google.javascript.jscomp.ant.CompileTask.class Maven / Gradle / Ivy
The newest version!
???? 3?
?? ?? ?? ?? ? ?? ? ?? ?? ?? ? ? ? ? ? ? ? ?
? ? ?
?
? ? ? ? ? ? ?
?
? !" # $ %&'
3?(
3)*
3+
2,
?-.
?/0 ?12 ?3456 789: ;< => ?? ?@ ?A
BCDEF GH
?I
?J
?K
?L
?M
?NODP
3QRS
?T
?U VW
?X
3,
YZ[\]^
?_
?`
3a
?b
?cd Ve
?fg
hij ?k
?l
?mnop
xq
rs
xtuv
2wx
?
y
z
{
|
}
~
?
?
?
??
?
??
?
?
??
??D??????
??
???
??
??
? ??
??
??
? ???
???
??
??
? ??
?
??
???
3??
??
??
??
??
?l
??
????
?
??
??????? ??? ??
?????
?
??
??
??
???
??
??
???
??
?
???
??
??
??D??
???????
????
??
??????
??
?
f?
2???
?q
??
??
??
?t?
??
??
??
??
???
??
??
??
?,?
??
????
languageIn? LanguageMode InnerClasses ;Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode; languageOut warningLevel +Lcom/google/javascript/jscomp/WarningLevel; debugOptions Z encoding Ljava/lang/String; outputEncoding Ljava/nio/charset/Charset; compilationLevel /Lcom/google/javascript/jscomp/CompilationLevel; environment? Environment :Lcom/google/javascript/jscomp/CompilerOptions$Environment; manageDependencies prettyPrint printInputDelimiter preferSingleQuotes generateExports replaceProperties forceRecompile angularPass replacePropertiesPrefix
outputFile Ljava/io/File;
outputWrapper outputWrapperFile defineParams Ljava/util/List; Signature 8Ljava/util/List; entryPointParams externFileLists 7Ljava/util/List; sourceFileLists sourcePaths 3Ljava/util/List; warnings ; sourceMapFormat sourceMapOutputFile sourceMapLocationMapping applyInputSourceMaps ()V Code LineNumberTable LocalVariableTable this .Lcom/google/javascript/jscomp/ant/CompileTask; parseLanguageMode O(Ljava/lang/String;)Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode; value
StackMapTable?
setLanguageIn (Ljava/lang/String;)V setLanguageOut
setWarning setEnvironment setDebug (Z)V setCompilationLevel setManageDependencies setOutput (Ljava/io/File;)V setOutputWrapper setOutputWrapperFile setReplacePropertiesPrefix setReplaceProperties setEncoding setOutputEncoding setPrettyPrint pretty setPrintInputDelimiter print setPreferSingleQuotes singlequotes setForceRecompile setAngularPass setGenerateExports
addExterns ((Lorg/apache/tools/ant/types/FileList;)V list %Lorg/apache/tools/ant/types/FileList;
addWarning -(Lcom/google/javascript/jscomp/ant/Warning;)V warning *Lcom/google/javascript/jscomp/ant/Warning;
addEntryPoint )(Lorg/apache/tools/ant/types/Parameter;)V
entrypoint &Lorg/apache/tools/ant/types/Parameter;
addSources addPath $(Lorg/apache/tools/ant/types/Path;)V !Lorg/apache/tools/ant/types/Path; execute e Ljava/lang/Exception; prefix suffixStart I suffix pos source Ljava/lang/StringBuilder; result %Lcom/google/javascript/jscomp/Result; options .Lcom/google/javascript/jscomp/CompilerOptions; compiler 'Lcom/google/javascript/jscomp/Compiler; externs sources LocalVariableTypeTable ;Ljava/util/List;?x???'[ flushSourceMap +(Lcom/google/javascript/jscomp/SourceMap;)V out Ljava/io/FileWriter; Ljava/io/IOException; sourceMap (Lcom/google/javascript/jscomp/SourceMap;u createCompilerOptions 0()Lcom/google/javascript/jscomp/CompilerOptions; level )Lcom/google/javascript/jscomp/CheckLevel; groupName group .Lcom/google/javascript/jscomp/DiagnosticGroup; tokens [Ljava/lang/String; lm LocationMapping 8Lcom/google/javascript/jscomp/SourceMap$LocationMapping;
parentFile?? ? createDefine (()Lorg/apache/tools/ant/types/Parameter; param createEntryPoint convertDefineParameters 1(Lcom/google/javascript/jscomp/CompilerOptions;)V key Ljava/lang/Object; p convertEntryPointParameters entryPoints $Ljava/util/List; convertPropertiesMap entry Entry Ljava/util/Map$Entry; props Ljava/util/Map; ;Ljava/util/Map$Entry; 5Ljava/util/Map; setDefine U(Lcom/google/javascript/jscomp/CompilerOptions;Ljava/lang/String;Ljava/lang/Object;)Z dblTemp D nfe !Ljava/lang/NumberFormatException; isTrue isFalse success? createCompiler W(Lcom/google/javascript/jscomp/CompilerOptions;)Lcom/google/javascript/jscomp/Compiler; formatter /Lcom/google/javascript/jscomp/MessageFormatter; errorManager 2Lcom/google/javascript/jscomp/ant/AntErrorManager; findExternFiles @(Lcom/google/javascript/jscomp/CompilerOptions;)Ljava/util/List; files k(Lcom/google/javascript/jscomp/CompilerOptions;)Ljava/util/List; findSourceFiles ()Ljava/util/List; =()Ljava/util/List; findJavaScriptFiles A(Lorg/apache/tools/ant/types/ResourceCollection;)Ljava/util/List; fr 3Lorg/apache/tools/ant/types/resources/FileResource; file rc /Lorg/apache/tools/ant/types/ResourceCollection; iter Ljava/util/Iterator; ;Ljava/util/Iterator; l(Lorg/apache/tools/ant/types/ResourceCollection;)Ljava/util/List; getBuiltinExterns writeResult Ljava/io/OutputStreamWriter; isStale ()Z lastRun J sourcesLastModified externsLastModified getLastModifiedTime (Ljava/util/List;)J path fileName src fileLists lastModified Ljava/util/List<*>;??? (Ljava/util/List<*>;)J (Ljava/io/File;)J fileLastModified setSourceMapFormat format setSourceMapOutputFile setSourceMapLocationMapping mapping
SourceFile CompileTask.java23 UTF-8
!
5
closure.define. java/util/LinkedList"#&#'#)#*#,#
ECMASCRIPT6_STRICT
ES6_STRICT ECMASCRIPT6 ES6 ECMASCRIPT5_STRICT
ES5_STRICT ECMASCRIPT5 ES5 ECMASCRIPT3 ES3 #org/apache/tools/ant/BuildException java/lang/StringBuilder (Unrecognized 'languageIn' option value ( )2?9: default quiet verbose %Unrecognized 'warning' option value ( BROWSER CUSTOM6 )Unrecognized 'environment' option value ( simple advanced
whitespace )Unrecognized 'compilation' option value ( !?
outputFile attribute must be set ??????????
Compiling !" file(s) with
extern(s)#?$%??
&'( java/lang/Exception &Invalid output_wrapper_file specified. .com/google/javascript/jscomp/CommandLineRunner %output%)*+,-./+0 5Invalid output_wrapper specified. Missing '%output%'.???? line.separator123 //# sourceMappingURL=/4?? Compilation failed. /None of the files changed. Compilation skipped. java/io/FileWriter2H56783 java/io/IOException Cannot write sourcemap to file.29 ,com/google/javascript/jscomp/CompilerOptions:?;?B<ODQDSDWD>=@=>?@?AD??BDVD????CD?E?FG (com/google/javascript/jscomp/ant/WarningHIJ -com/google/javascript/jscomp/DiagnosticGroupsKLM.NOPRS?T0 \|UV 6com/google/javascript/jscomp/SourceMap$LocationMapping2WXYZ[\1
]D^_`? !Created missing parent directory a org/apache/tools/ant/Project#bcd? $org/apache/tools/ant/types/Parametere?? "Unexpected @define value for name= ; value=A\fghijkl java/util/Map$EntrymG java/lang/StringeGn "Unexpected property value for key= true falseopqrst java/lang/NumberFormatExceptionuW java/lang/Booleanv? java/lang/Integerwxb java/lang/Doubleyz %com/google/javascript/jscomp/Compiler{|}~ 0com/google/javascript/jscomp/ant/AntErrorManager2??????? #org/apache/tools/ant/types/FileList?? org/apache/tools/ant/types/Path? 1org/apache/tools/ant/types/resources/FileResource ???????_?????_???????2? java/io/OutputStreamWriter java/io/FileOutputStream2???3 Compiled JavaScript written to ??????????? java/io/File2???Z? java/util/Date?? ,com/google/javascript/jscomp/ant/CompileTask org/apache/tools/ant/Task 9com/google/javascript/jscomp/CompilerOptions$LanguageMode 8com/google/javascript/jscomp/CompilerOptions$Environment java/util/List #com/google/javascript/jscomp/Result java/util/Iterator 'com/google/javascript/jscomp/CheckLevel ,com/google/javascript/jscomp/DiagnosticGroup
java/util/Map java/lang/Object !java/nio/charset/StandardCharsets UTF_8 )com/google/javascript/jscomp/WarningLevel DEFAULT -com/google/javascript/jscomp/CompilationLevel SIMPLE_OPTIMIZATIONS hashCode ()I equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; equalsIgnoreCase (Ljava/lang/String;)Z QUIET VERBOSE ADVANCED_OPTIMIZATIONS WHITESPACE_ONLY java/nio/charset/Charset forName .(Ljava/lang/String;)Ljava/nio/charset/Charset; add java/util/logging/Level OFF Ljava/util/logging/Level; setLoggingLevel (Ljava/util/logging/Level;)V size (I)Ljava/lang/StringBuilder; log compile u(Ljava/util/List;Ljava/util/List;Lcom/google/javascript/jscomp/CompilerOptions;)Lcom/google/javascript/jscomp/Result; toSource com/google/common/io/Files <(Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/lang/String; indexOf (Ljava/lang/String;)I substring (II)Ljava/lang/String; insert .(ILjava/lang/String;)Ljava/lang/StringBuilder; length (I)Ljava/lang/String; java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; getName &com/google/javascript/jscomp/SourceMap appendTo +(Ljava/lang/Appendable;Ljava/lang/String;)V close *(Ljava/lang/String;Ljava/lang/Throwable;)V setOptionsForCompilationLevel "setDebugOptionsForCompilationLevel =(Lcom/google/javascript/jscomp/CompilerOptions$Environment;)V >(Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;)V setOutputCharset (Ljava/nio/charset/Charset;)V setOptionsForWarningLevel setManageClosureDependencies setTrustedStrings iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getLevel +()Lcom/google/javascript/jscomp/CheckLevel; getGroup B(Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticGroup; setWarningLevel Z(Lcom/google/javascript/jscomp/DiagnosticGroup;Lcom/google/javascript/jscomp/CheckLevel;)V com/google/common/base/Strings
isNullOrEmpty -com/google/javascript/jscomp/SourceMap$Format Format valueOf C(Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceMap$Format; 2(Lcom/google/javascript/jscomp/SourceMap$Format;)V split ((Ljava/lang/String;I)[Ljava/lang/String; '(Ljava/lang/String;Ljava/lang/String;)V java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; setSourceMapLocationMappings (Ljava/util/List;)V setApplyInputSourceMaps
getParentFile ()Ljava/io/File; mkdirs -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;I)V getAbsolutePath setSourceMapOutputPath getValue
getProject ()Lorg/apache/tools/ant/Project;
getProperties ()Ljava/util/Hashtable; entrySet ()Ljava/util/Set;
java/util/Set getKey
startsWith setDefineToBooleanLiteral (Ljava/lang/String;Z)V parseDouble (Ljava/lang/String;)D setDefineToDoubleLiteral (Ljava/lang/String;D)V setDefineToStringLiteral booleanValue intValue setDefineToNumberLiteral doubleValue ()D getErrorFormat ,()Lcom/google/javascript/jscomp/ErrorFormat; (com/google/javascript/jscomp/ErrorFormat toFormatter f(Lcom/google/javascript/jscomp/SourceExcerptProvider;Z)Lcom/google/javascript/jscomp/MessageFormatter; M(Lcom/google/javascript/jscomp/MessageFormatter;Lorg/apache/tools/ant/Task;)V setErrorManager .(Lcom/google/javascript/jscomp/ErrorManager;)V addAll (Ljava/util/Collection;)Z -org/apache/tools/ant/types/ResourceCollection java/nio/file/Paths get ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path; java/nio/file/Path toAbsolutePath ()Ljava/nio/file/Path; getFile toPath
relativize *(Ljava/nio/file/Path;)Ljava/nio/file/Path; toFile 'com/google/javascript/jscomp/SourceFile fromFile S(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/javascript/jscomp/SourceFile; getEnvironment <()Lcom/google/javascript/jscomp/CompilerOptions$Environment; L(Lcom/google/javascript/jscomp/CompilerOptions$Environment;)Ljava/util/List; (Ljava/lang/Throwable;)V 3(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V *(Ljava/lang/CharSequence;)Ljava/io/Writer; flush ()J java/lang/Math max (JJ)J getFiles 3(Lorg/apache/tools/ant/Project;)[Ljava/lang/String; getDir .(Lorg/apache/tools/ant/Project;)Ljava/io/File; #(Ljava/io/File;Ljava/lang/String;)V ()[Ljava/lang/String; getTime 1 ?
! "# $ % &# $ % '# $ ( )# $ ( *# $ + ,# $ - . / 0 1
0 23 4 4 ?*? *? *? ? *? ? *? ? *?
? *? *?
? *? ? *? *? *? *? *? *? *? *? *? *? Y? ? *? Y? ? *? Y? ? *? Y? ? *? Y? ? !*? Y? ? "? 5 f h M
N i j k &