com.google.javascript.jscomp.ConformanceRules$BanSettingAttributes.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 getValueList *()Lcom/google/protobuf/ProtocolStringList; &com/google/protobuf/ProtocolStringList isEmpty ()Z Dcom/google/javascript/jscomp/CheckConformance$InvalidRequirementSpec
missing value
(Ljava/lang/String;)V
-com/google/javascript/jscomp/AbstractCompiler getTypeRegistry 5()Lcom/google/javascript/rhino/jstype/JSTypeRegistry;
! " # $ % 'com/google/common/collect/ImmutableList builder 3()Lcom/google/common/collect/ImmutableList$Builder; ' ( ) iterator ()Ljava/util/Iterator; + , - . java/util/Iterator hasNext + 0 1 2 next ()Ljava/lang/Object; 4 java/lang/String
6 7 8 9 : =com/google/javascript/jscomp/ConformanceRules$ConformanceUtil getClassFromDeclarationName &(Ljava/lang/String;)Ljava/lang/String;
6 < = : getPropertyFromDeclarationName ? bad prop value A ^com/google/javascript/jscomp/ConformanceRules$BanSettingAttributes$AttributeSettingRestriction
C D E F G 1com/google/javascript/rhino/jstype/JSTypeRegistry
getGlobalType ?(Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/JSType;
@ I J @(Lcom/google/javascript/rhino/jstype/JSType;Ljava/lang/String;)V
L M N O P /com/google/common/collect/ImmutableList$Builder add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
L R S T build +()Lcom/google/common/collect/ImmutableList; V W X Y Z Bcom/google/javascript/jscomp/ConformanceRules$BanSettingAttributes restrictions )Lcom/google/common/collect/ImmutableList;
\ ] ^ _ com/google/javascript/rhino/Node isCall
V a b c checkConformanceOnPropertyCall ?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult; e f g h i ?com/google/javascript/jscomp/ConformanceRules$ConformanceResult CONFORMANCE ALcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;
V k l m getBannedPropertyName E(Lcom/google/javascript/rhino/Node;)Lcom/google/common/base/Optional;
o p q r com/google/common/base/Optional isPresent
\ t u v
getChildCount ()I V x y z BANNED_ATTRS KLcom/google/javascript/jscomp/ConformanceRules$SecuritySensitiveAttributes;
\ | } ~ getSecondChild $()Lcom/google/javascript/rhino/Node;
? ? ? ? c Icom/google/javascript/jscomp/ConformanceRules$SecuritySensitiveAttributes checkConformanceForAttributeName
\ ? ? ~
getFirstChild
\ ? ? isGetProp
o ? ? ? absent #()Lcom/google/common/base/Optional;
\ ? ? ? getJSType -()Lcom/google/javascript/rhino/jstype/JSType;
\ ? ? ? getString ()Ljava/lang/String;
! ? ( ? 2()Lcom/google/common/collect/UnmodifiableIterator; @ ? ? ? property Ljava/lang/String;
3 ? ? ? equals (Ljava/lang/Object;)Z @ ? ? ? type +Lcom/google/javascript/rhino/jstype/JSType;
? ? ? ? ? )com/google/javascript/rhino/jstype/JSType isSubtypeOf .(Lcom/google/javascript/rhino/jstype/JSType;)Z
o ? ? ? of 5(Ljava/lang/Object;)Lcom/google/common/base/Optional;
? ? ? ()V Signature ?Lcom/google/common/collect/ImmutableList; Code LineNumberTable LocalVariableTable value this DLcom/google/javascript/jscomp/ConformanceRules$BanSettingAttributes; compiler /Lcom/google/javascript/jscomp/AbstractCompiler; requirement *Lcom/google/javascript/jscomp/Requirement; registry 3Lcom/google/javascript/rhino/jstype/JSTypeRegistry; 1Lcom/google/common/collect/ImmutableList$Builder; LocalVariableTypeTable ?Lcom/google/common/collect/ImmutableList$Builder;
StackMapTable
Exceptions MethodParameters checkConformance traversal ,Lcom/google/javascript/jscomp/NodeTraversal; node "Lcom/google/javascript/rhino/Node; calledProperty !Lcom/google/common/base/Optional; 5Lcom/google/common/base/Optional;
restricted `Lcom/google/javascript/jscomp/ConformanceRules$BanSettingAttributes$AttributeSettingRestriction; target propertyName Y(Lcom/google/javascript/rhino/Node;)Lcom/google/common/base/Optional;
SourceFile ConformanceRules.java NestHost ? -com/google/javascript/jscomp/ConformanceRules InnerClasses AbstractRule ? -com/google/javascript/jscomp/CheckConformance InvalidRequirementSpec Builder ConformanceUtil BanSettingAttributes AttributeSettingRestriction ConformanceResult SecuritySensitiveAttributes 1 V y z Y Z ? ? ? ? ?*+,? ,? ?
?
? Y? ?+? N? :,? ? & :? * ? I? / ? 3:? 5:? ;:? ?
? Y>? ?? @Y-? B? H? KW???*? Q? U? ? :
?
?
?
? !
? &
? G
? N
? U
? _
? i
? ~
? ?
? ?
? ? R N 0 ? ? U ) ? ? G 7 ? ? ? ? ? ? ? ? ? ? ? ! j ? ? &