com.google.javascript.jscomp.GoogleCodingConvention.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 ? 4com/google/javascript/jscomp/ClosureCodingConvention
()V
3com/google/javascript/jscomp/GoogleCodingConvention 2(Lcom/google/javascript/jscomp/CodingConvention;)V
4com/google/javascript/jscomp/CodingConventions$Proxy
java/lang/String length ()I
lastIndexOf (I)I
isConstantKey (Ljava/lang/String;II)Z
charAt (I)C
" # $ % & java/lang/Character isUpperCase (C)Z
" ( ) * toUpperCase (C)C , - . ENUM_KEY_PATTERN Ljava/util/regex/Pattern;
0 1 2 3 4 java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
6 7 8 9 : java/util/regex/Matcher matches ()Z
< = > isOptionalParameter %(Lcom/google/javascript/rhino/Node;)Z
@ A B C : com/google/javascript/rhino/Node isName
@ E F G getString ()Ljava/lang/String; I opt_
K L M
startsWith (Ljava/lang/String;)Z
O P > isVarArgsParameter R var_args
T U V equals (Ljava/lang/Object;)Z
X Y Z
isExported (Ljava/lang/String;Z)Z \ _
@ ^ _ `
getFirstChild $()Lcom/google/javascript/rhino/Node;
b c > isClassFactoryCall
@ e f G toString h Polymer j k l m G ,com/google/javascript/rhino/StaticSourceFile getName o p . GENFILES_DIR
6 r s : find
6 u v w group (I)Ljava/lang/String; y z . PACKAGE_WITH_TEST_DIR |
~ ? substring (II)Ljava/lang/String; ? [A-Z0-9][A-Z0-9_]*
0 ? ? ? compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; ? '^(.*)/(?:test|tests|testing)/(?:[^/]+)$ ? -out/.*/(bin|genfiles)/(.*)$ serialVersionUID J
ConstantValue OPTIONAL_ARG_PREFIX Ljava/lang/String;
VAR_ARGS_NAME Code LineNumberTable LocalVariableTable this 5Lcom/google/javascript/jscomp/GoogleCodingConvention;
convention /Lcom/google/javascript/jscomp/CodingConvention; MethodParameters
isConstant name pos I start
StackMapTable i end isValidEnumKey key parameter "Lcom/google/javascript/rhino/Node; local Z callNode
callTarget getPackageName B(Lcom/google/javascript/rhino/StaticSourceFile;)Ljava/lang/String; lastSlash source .Lcom/google/javascript/rhino/StaticSourceFile; genfilesMatcher Ljava/util/regex/Matcher; m RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible;
SourceFile GoogleCodingConvention.java RuntimeVisibleAnnotations -Lcom/google/errorprone/annotations/Immutable; InnerClasses ? .com/google/javascript/jscomp/CodingConventions Proxy !
? ? ? ? ? ? ? H ? ? ? Q - . z . p . ? : *? Y? ? ? ?
1 2 ? ? ? ? > *+? ? ?
6 7 ? ? ? ? ? ? ? ? M ? ? '+? ? ?+$? =? `? >++? ? ? ? M N
S T V ? * ' ? ? ' ? ? ? ?
? ? ?
? @ ? ? M ? >
++? ? ? ? [ ?
? ?
? ? ? ? ? ? 5? *? ? !? ?`>? *? ? '*? ? ?????? ? e f h k + l - h 3 o ? * ? ? 5 ? ? 5 ? ? 5 ? ? ? ? ? ?
? ? ? ? M ? ? ? ++? /? 5? ? ? ? ? ? ? ? ? ? = > ? i !*+? ;? +? ?? +? DH? J? ? ? ? ? ? ? ? ! ? ? ! ? ? ? @ ? ? P > ? i !*+? N? +? ?? Q+? D? S? ? ? ? ? ? ? ? ! ? ? ! ? ? ? @ ? ? Y Z ? f *+? W? ? +[? J? ? ? ? ? ? ? ? ? ? ? ? ? @ ? ? ? c > ? ? &+? ]M*+? a? ,? ?? ,? dg? S? ? ? ? ? ? ? % ? ? &