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

com.google.javascript.jscomp.ConformanceRules$ConformanceUtil.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?
java/lang/Object()V
	
 com/google/javascript/rhino/Node	getParent$()Lcom/google/javascript/rhino/Node;
isCall()Z
isNew

getFirstChild
)com/google/javascript/rhino/jstype/JSType
isUnknownType
isNoResolvedType
 !	isAllType
#$%&'4com/google/javascript/jscomp/parsing/JsDocInfoParserparseTypeString6(Ljava/lang/String;)Lcom/google/javascript/rhino/Node;)Dcom/google/javascript/jscomp/CheckConformance$InvalidRequirementSpec+bad type expression
(-.(Ljava/lang/String;)V0,com/google/javascript/rhino/JSTypeExpression2conformance
/457(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)V
789:;-com/google/javascript/jscomp/AbstractCompilergetTypeRegistry5()Lcom/google/javascript/rhino/jstype/JSTypeRegistry;
=>?@A1com/google/javascript/rhino/jstype/JSTypeRegistry#evaluateTypeExpressionInGlobalScope[(Lcom/google/javascript/rhino/JSTypeExpression;)Lcom/google/javascript/rhino/jstype/JSType;
CDEFG$com/google/common/base/Preconditions
checkState(Z)V
IJKLM=com/google/javascript/jscomp/ConformanceRules$ConformanceUtilvalidateParameterList?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/jstype/FunctionType;Z)Z
IOPQvalidateThisW(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/jstype/FunctionType;Z)Z
STUVW/com/google/javascript/rhino/jstype/FunctionType
getTypeOfThis-()Lcom/google/javascript/rhino/jstype/JSType;
YZgetSecondChild
\]getFirstFirstChild
_`W	getJSType
bcWrestrictByNotNullOrUndefined
efgisSubtypeOf.(Lcom/google/javascript/rhino/jstype/JSType;)Z
ijgetNext
lmnop'com/google/common/collect/ImmutableListbuilder3()Lcom/google/common/collect/ImmutableList$Builder;	rstuv/com/google/javascript/rhino/jstype/JSTypeNativeUNKNOWN_TYPE1Lcom/google/javascript/rhino/jstype/JSTypeNative;
=xyz
getNativeType^(Lcom/google/javascript/rhino/jstype/JSTypeNative;)Lcom/google/javascript/rhino/jstype/JSType;
|}~?/com/google/common/collect/ImmutableList$BuilderaddE(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
|???build+()Lcom/google/common/collect/ImmutableList;
S???acceptsArguments(Ljava/util/List;)Z?
\.prototype\.
?????java/lang/Stringsplit'(Ljava/lang/String;)[Ljava/lang/String;
????indexOf(I)I?%value should be in the form NAME:TYPE
????	substring(II)Ljava/lang/String;
????(I)Ljava/lang/String;
????%com/google/javascript/rhino/JSDocInfo
isConstant
?????,com/google/javascript/jscomp/GlobalNamespace
getOwnSlotG(Ljava/lang/String;)Lcom/google/javascript/jscomp/GlobalNamespace$Name;
?????1com/google/javascript/jscomp/GlobalNamespace$Name
getGlobalSets()I
????getTotalSets
????getJSDocInfo)()Lcom/google/javascript/rhino/JSDocInfo;
I???isAnnotatedAsConst*(Lcom/google/javascript/rhino/JSDocInfo;)Z
????getDeclaration4()Lcom/google/javascript/jscomp/GlobalNamespace$Ref;
????0com/google/javascript/jscomp/GlobalNamespace$RefgetNode
?????%com/google/javascript/jscomp/NodeUtilgetRValueOfLValueF(Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/rhino/Node;???getM(Lcom/google/javascript/jscomp/GlobalNamespace;)Ljava/util/function/Supplier;
I???inferStringValuew(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Ljava/util/function/Supplier;)Ljava/lang/String;	?????/com/google/javascript/jscomp/ConformanceRules$1,$SwitchMap$com$google$javascript$rhino$Token[I
???getToken%()Lcom/google/javascript/rhino/Token;
?????!com/google/javascript/rhino/Tokenordinal
????getStringValue6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
???	getString()Ljava/lang/String;
?????"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;? com/google/javascript/jscomp/Var
???isConst
??
???getInitialValue
????getScope.()Lcom/google/javascript/jscomp/AbstractScope;
??isEnumElementType
?toMaybeEnumElementType6()Lcom/google/javascript/rhino/jstype/EnumElementType;
2com/google/javascript/rhino/jstype/EnumElementTypegetEnumType/()Lcom/google/javascript/rhino/jstype/EnumType;
	
+com/google/javascript/rhino/jstype/EnumType	getSource
isObjectLit
isClassMembers
?getFirstPropMatchingKeyX(Lcom/google/javascript/rhino/Node;Ljava/lang/String;)Lcom/google/javascript/rhino/Node;
isString?java/util/function/Supplier()Ljava/lang/Object;
 !?getQualifiedName
I#$%getValueFromGlobalNamex(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/jscomp/GlobalNamespace;Ljava/lang/String;)Ljava/lang/String;
	'(?getReferenceName*enum{xid.String}
?,-.equals(Ljava/lang/Object;)Z0on
?234
startsWith(Ljava/lang/String;)ZCodeLineNumberTableLocalVariableTablethis?Lcom/google/javascript/jscomp/ConformanceRules$ConformanceUtil;isCallTarget%(Lcom/google/javascript/rhino/Node;)Zn"Lcom/google/javascript/rhino/Node;parent
StackMapTableMethodParametersisLooseTypetype+Lcom/google/javascript/rhino/jstype/JSType;evaluateTypeStringn(Lcom/google/javascript/jscomp/AbstractCompiler;Ljava/lang/String;)Lcom/google/javascript/rhino/jstype/JSType;compiler/Lcom/google/javascript/jscomp/AbstractCompiler;
expressionLjava/lang/String;	typeNodestypeExpr.Lcom/google/javascript/rhino/JSTypeExpression;
ExceptionsvalidateCall	callOrNewfunctionType1Lcom/google/javascript/rhino/jstype/FunctionType;isCallInvocationZthisTypethisNodethisNodeTypeargTypearg
argumentTypes1Lcom/google/common/collect/ImmutableList$Builder;LocalVariableTypeTable^Lcom/google/common/collect/ImmutableList$Builder;getPropertyFromDeclarationName&(Ljava/lang/String;)Ljava/lang/String;specNameparts[Ljava/lang/String;aRuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;getClassFromDeclarationNametmpremoveTypeDeclindexIgetTypeFromValuejsdoc'Lcom/google/javascript/rhino/JSDocInfo;scope$Lcom/google/javascript/jscomp/Scope;gns.Lcom/google/javascript/jscomp/GlobalNamespace;
qualifiedNamegn3Lcom/google/javascript/jscomp/GlobalNamespace$Name;namevar"Lcom/google/javascript/jscomp/Var;initialValue
enumSourcenodeglobalNamespaceSupplierLjava/util/function/Supplier;MLjava/util/function/Supplier;	Signature?(Lcom/google/javascript/jscomp/Scope;Lcom/google/javascript/rhino/Node;Ljava/util/function/Supplier;)Ljava/lang/String;isXidenumElTy4Lcom/google/javascript/rhino/jstype/EnumElementType;isEventHandlerAttrNameattrlambda$getValueFromGlobalName$0^(Lcom/google/javascript/jscomp/GlobalNamespace;)Lcom/google/javascript/jscomp/GlobalNamespace;
SourceFileConformanceRules.javaNestHost?-com/google/javascript/jscomp/ConformanceRulesBootstrapMethods?
?????"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?
I????0()Lcom/google/javascript/jscomp/GlobalNamespace;InnerClasses?-com/google/javascript/jscomp/CheckConformanceInvalidRequirementSpecConformanceUtilBuilderNameRef?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup I5/*??6?789:;5j!*?L+?
?
+??+?*???6
??7!<=>=??@@<Ag5Q*??*??
*????6?7BC?@@BDE5?'+?"M,?
?(Y*?,??/Y,1?3N*?6-?=O==PQ=RS/TC,U=6VC?	?
C@
OPR
LM5T+?X:??
?h:?k:?-?^:?*?6?q?w:?{W?h:???,?????6.????? ?'?,?8?@?J?7H'WCTFGTO=TPQTRSNX=9YZ[9Y\???|??@FOPR
]^5}'*???L+??	+????B+??+2??6!%7'_I `a??b@@_cd
e^5?)*L+???M,??	,????B,??,2??6
	
#'7 )_I'fI	 `a???b@@_cd
g^5i*:??<?
?(Y??,?*???67_Ihi??M(@_
j^5b*:??<??*`???6 7_Ihi??@_cd
??5F*?*?????6$7kl?@@k
$%5?;+,??N-?-???-???
-??????*-??????+???Ͱ6&	)*+,-$.&1(2717*;mn;op;qI5rs?	?$?@
moqcdd
??5k+????+?׶?.???@;?????;;;+??*??+??N*-????:???????????:????,?Ͱ+?^:?????8????:???
?
???+??,?Ͱ?? ,???:??*+??"???6?!78;L@QBUCWE\FfGkHmJ?K?M?N?P?Q?R?W?X?Y?Z?\?]?_?a?_?c?d?e?f?hj	n7\	\<tIf2uv?w=?(x=?op?kBCmny=z{[z|?N?E???????????
??@
myz}~cdd
g5~#*??*??L+?+??&)?+???6rsuvwx!z7#BC???	?@B
?45O*/?+?*/?1???6~7?I?@@?
??5,*?627op??????????:(??	I??
|l???????????




© 2015 - 2024 Weber Informatics LLC | Privacy Policy