All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.javascript.jscomp.ConformanceRules$RestrictedMethodCall.class Maven / Gradle / Ivy

Go to download

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()IDcom/google/javascript/jscomp/CheckConformance$InvalidRequirementSpec
missing value

(Ljava/lang/String;)V
-com/google/javascript/jscomp/AbstractCompilergetTypeRegistry5()Lcom/google/javascript/rhino/jstype/JSTypeRegistry;
'com/google/common/collect/ImmutableListbuilder3()Lcom/google/common/collect/ImmutableList$Builder;
!"#getValueList*()Lcom/google/protobuf/ProtocolStringList;%&'()&com/google/protobuf/ProtocolStringListiterator()Ljava/util/Iterator;+,-./java/util/IteratorhasNext()Z+123next()Ljava/lang/Object;5java/lang/String
789:;=com/google/javascript/jscomp/ConformanceRules$ConformanceUtilremoveTypeDecl&(Ljava/lang/String;)Ljava/lang/String;
7=>;getClassFromDeclarationName
7@A;getPropertyFromDeclarationName
7CD;getTypeFromValueFbad prop value
7HIJevaluateTypeStringn(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/JSType;
LMNOP)com/google/javascript/rhino/jstype/JSTypetoMaybeFunctionType3()Lcom/google/javascript/rhino/jstype/FunctionType;Rinvalid conformance typeTNcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCall$Restriction
VWXYZ1com/google/javascript/rhino/jstype/JSTypeRegistry
getGlobalType?(Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/JSType;
S\]q(Lcom/google/javascript/rhino/jstype/JSType;Ljava/lang/String;Lcom/google/javascript/rhino/jstype/FunctionType;)V
_`abc/com/google/common/collect/ImmutableList$BuilderaddE(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
_efgbuild+()Lcom/google/common/collect/ImmutableList;	ijklmBcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCallrestrictions)Lcom/google/common/collect/ImmutableList;
opqr/ com/google/javascript/rhino/Node	isGetProp
7tuvisCallTarget%(Lcom/google/javascript/rhino/Node;)Z	xyz{|?com/google/javascript/jscomp/ConformanceRules$ConformanceResultCONFORMANCEALcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;
~size
???get(I)Ljava/lang/Object;
i???matchesPropu(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCall$Restriction;)Z
i???checkConformance?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCall$Restriction;Z)Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;
o???	getString()Ljava/lang/String;?call
4???equals(Ljava/lang/Object;)Z
o???
getFirstChild$()Lcom/google/javascript/rhino/Node;	x???level@Lcom/google/javascript/jscomp/ConformanceRules$ConformanceLevel;	???{?>com/google/javascript/jscomp/ConformanceRules$ConformanceLevel
?????*com/google/javascript/jscomp/NodeTraversalgetCompiler1()Lcom/google/javascript/jscomp/AbstractCompiler;	S???type+Lcom/google/javascript/rhino/jstype/JSType;
o???getFirstFirstChild
o???	getJSType-()Lcom/google/javascript/rhino/jstype/JSType;
L???restrictByNotNullOrUndefined
7???isLooseType.(Lcom/google/javascript/rhino/jstype/JSType;)Z
?????-com/google/javascript/jscomp/ConformanceRules
isLooseObjecta(Lcom/google/javascript/rhino/jstype/JSType;Lcom/google/javascript/rhino/jstype/JSTypeRegistry;)Z	i???reportLooseTypeViolationsZ	i???compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
o???	getParent	S???restrictedCallType1Lcom/google/javascript/rhino/jstype/FunctionType;
7???validateCall?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/jstype/FunctionType;Z)Z	x??|%POSSIBLE_VIOLATION_DUE_TO_LOOSE_TYPES
L???isSubtypeOf	x??|	VIOLATION	S???propertyLjava/lang/String;	Signature{Lcom/google/common/collect/ImmutableList;CodeLineNumberTableLocalVariableTablerestrictedDeclvaluethisDLcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCall;requirement*Lcom/google/javascript/jscomp/Requirement;registry3Lcom/google/javascript/rhino/jstype/JSTypeRegistry;1Lcom/google/common/collect/ImmutableList$Builder;LocalVariableTypeTable?Lcom/google/common/collect/ImmutableList$Builder;
StackMapTable?/com/google/javascript/rhino/jstype/FunctionType
ExceptionsMethodParameters?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;rPLcom/google/javascript/jscomp/ConformanceRules$RestrictedMethodCall$Restriction;resultiIt,Lcom/google/javascript/jscomp/NodeTraversal;n"Lcom/google/javascript/rhino/Node;
targetTypeisCallInvocationmethodClassTypelhs
SourceFileConformanceRules.javaNestHostInnerClassesAbstractRule	-com/google/javascript/jscomp/CheckConformanceInvalidRequirementSpecBuilderConformanceUtilRestrictedMethodCallRestrictionConformanceResultConformanceLevel ilm????*+,?,??
?
Y??+?N?:,? ?$:?*?w?0?4:?6?<:?6??:?B:	?
?	?
?
YE??+	?G?K:

?
?
YQ???SY-?U
?[?^W???*?d?h??V??
???!?B?D?L?N?V?]?l?v?y??????????????f
L[??VQ??]J??	?&??
Be??????????????!???!???`?i?V_+??
iV_+4444	???iV_?
?	?????/?,?n?
,?s??w?>*?h?}?e*?h???S:?w:*,???*+,??:?',??????*,?????*+,??:???????????w??6
??,1;Ibmx
{??>,O??1J?|m??????????????4Sx#?
??	?????g	?+???:-??:?
,???,??:?h???`????:???
???"*???=*??,??-???Ϛ)?Ӱ?֙*??,??-???Ϛ?ٰ?w??B	!.8JV_ei!s"x#?"?$?(?\	8S????????????????	?????!n???VLCo?*oL?!???????d+?n?+??,?ܶ?????,? ???????@?	???B?	

	_7?
i?
Si
x?	??@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy