com.google.javascript.jscomp.LinterMain.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of closure-compiler-unshaded Show documentation
Show all versions of closure-compiler-unshaded Show documentation
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 ~
java/lang/Object ()V
'com/google/javascript/jscomp/LinterMain fix Z =com/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode BROWSER ?Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode; resolutionMode java/util/ArrayList
files Ljava/util/List;
! run ([Ljava/lang/String;)V # org/kohsuke/args4j/CmdLineParser
" % & (Ljava/lang/Object;)V
" ( ) !
parseArgument
+ , - . / #com/google/javascript/jscomp/Linter builder /()Lcom/google/javascript/jscomp/Linter$Builder;
1 2 3 4 5 +com/google/javascript/jscomp/Linter$Builder withModuleResolutionMode n(Lcom/google/javascript/jscomp/deps/ModuleLoader$ResolutionMode;)Lcom/google/javascript/jscomp/Linter$Builder;
1 7 8 9 build '()Lcom/google/javascript/jscomp/Linter; ; < = > ? java/util/List iterator ()Ljava/util/Iterator; A B C D E java/util/Iterator hasNext ()Z A G H I next ()Ljava/lang/Object; K java/lang/String
+ M N O
fixRepeatedly (Ljava/lang/String;)V
+ Q R O lint RuntimeVisibleAnnotations Lorg/kohsuke/args4j/Option; name --fix usage Fix lint warnings automatically --resolution_mode >Expected path resolution mode for resolving module specifiers. Signature $Ljava/util/List; Lorg/kohsuke/args4j/Argument; Code LineNumberTable LocalVariableTable this )Lcom/google/javascript/jscomp/LinterMain; main args [Ljava/lang/String;
Exceptions h java/io/IOException j #org/kohsuke/args4j/CmdLineException MethodParameters filename Ljava/lang/String; parser "Lorg/kohsuke/args4j/CmdLineParser; linter %Lcom/google/javascript/jscomp/Linter;
StackMapTable
SourceFile LinterMain.java RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; value Unnecessary InnerClasses { .com/google/javascript/jscomp/deps/ModuleLoader ResolutionMode Builder 1 S T Us V Ws X S T Us Y Ws Z [ \ S ] ^ R *? *? *?
? *? Y? ? ? _ " # &