com.google.javascript.jscomp.ConformanceRules$BannedCodePattern.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 ?
:com/google/javascript/jscomp/ConformanceRules$AbstractRule \(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/Requirement;)V
(com/google/javascript/jscomp/Requirement
getValueCount ()I Dcom/google/javascript/jscomp/CheckConformance$InvalidRequirementSpec
missing value
(Ljava/lang/String;)V
'com/google/common/collect/ImmutableList builder 3()Lcom/google/common/collect/ImmutableList$Builder;
getValueList *()Lcom/google/protobuf/ProtocolStringList; ! " # &com/google/protobuf/ProtocolStringList iterator ()Ljava/util/Iterator; % & ' ( ) java/util/Iterator hasNext ()Z % + , - next ()Ljava/lang/Object; / java/lang/String 1 "com/google/javascript/jscomp/JsAst 3
5 6 7 8 9 'com/google/javascript/jscomp/SourceFile fromCode O(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/SourceFile;
0 ; < ,(Lcom/google/javascript/jscomp/SourceFile;)V
0 > ? @
getAstRoot S(Lcom/google/javascript/jscomp/AbstractCompiler;)Lcom/google/javascript/rhino/Node;
B C D E ) com/google/javascript/rhino/Node hasOneChild
B G H I
getFirstChild $()Lcom/google/javascript/rhino/Node;
B K L )
isFunction N O P makeConcatWithConstants &(Ljava/lang/String;)Ljava/lang/String; R /com/google/javascript/jscomp/TemplateAstMatcher T U V W X ?com/google/javascript/jscomp/ConformanceRules$BannedCodePattern typeMatchingStrategy 3Lcom/google/javascript/jscomp/TypeMatchingStrategy;
Q Z [ ?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/TypeMatchingStrategy;)V
] ^ _ ` a /com/google/common/collect/ImmutableList$Builder add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
] c d e build +()Lcom/google/common/collect/ImmutableList; T g h i restrictions )Lcom/google/common/collect/ImmutableList;
k l size
n o p get (I)Ljava/lang/Object;
Q r s t matches %(Lcom/google/javascript/rhino/Node;)Z
Q v w ) isLooseMatch y z { | } ?com/google/javascript/jscomp/ConformanceRules$ConformanceResult VIOLATION ALcom/google/javascript/jscomp/ConformanceRules$ConformanceResult; T ? ? reportLooseTypeViolations Z y ? ? } %POSSIBLE_VIOLATION_DUE_TO_LOOSE_TYPES y ? ? } CONFORMANCE Signature \Lcom/google/common/collect/ImmutableList; Code LineNumberTable LocalVariableTable parseRoot "Lcom/google/javascript/rhino/Node; templateRoot
astMatcher 1Lcom/google/javascript/jscomp/TemplateAstMatcher; value Ljava/lang/String; this ALcom/google/javascript/jscomp/ConformanceRules$BannedCodePattern; compiler /Lcom/google/javascript/jscomp/AbstractCompiler; requirement *Lcom/google/javascript/jscomp/Requirement; 1Lcom/google/common/collect/ImmutableList$Builder; LocalVariableTypeTable dLcom/google/common/collect/ImmutableList$Builder;
StackMapTable ? -com/google/javascript/jscomp/AbstractCompiler
Exceptions MethodParameters checkConformance ?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult; matcher i I t ,Lcom/google/javascript/jscomp/NodeTraversal; n possibleViolation
SourceFile ConformanceRules.java NestHost ? -com/google/javascript/jscomp/ConformanceRules BootstrapMethods ?
? ? ? O ? $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; ? invalid conformance template: InnerClasses AbstractRule ? -com/google/javascript/jscomp/CheckConformance InvalidRequirementSpec Builder BannedCodePattern ConformanceResult ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup T h i ? ? ? ? ?*+,? ,? ?
?
Y? ?? N,? ? :? $ ? f? * ? .:? 0Y2? 4? :+? =:? A? ? F? J? ?
Y? M ? ?? F:? QY+*? S? Y:-? \W???*-? b? f? ? : ?
? ? ? <? P? c? r? y? ?? ?? ?? ?? ? R P @ ? ? y ? ? ? ? ? <