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

com.google.javascript.jscomp.ConformanceRules$AbstractRule.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/jscomp/RequirementhasErrorMessage()ZDcom/google/javascript/jscomp/CheckConformance$InvalidRequirementSpecmissing message

(Ljava/lang/String;)V	:com/google/javascript/jscomp/ConformanceRules$AbstractRulecompiler/Lcom/google/javascript/jscomp/AbstractCompiler;
getErrorMessage()Ljava/lang/String;
 !getConfigFileCount()I#
  extended by 
%&'()com/google/common/base/Joineron3(Ljava/lang/String;)Lcom/google/common/base/Joiner;
+,-getConfigFileList*()Lcom/google/protobuf/ProtocolStringList;
%/01join((Ljava/lang/Iterable;)Ljava/lang/String;345makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;	789messageLjava/lang/String;
;<=getSeverity5()Lcom/google/javascript/jscomp/Requirement$Severity;	?@ABC1com/google/javascript/jscomp/Requirement$SeverityUNSPECIFIED3Lcom/google/javascript/jscomp/Requirement$Severity;	?EFCWARNING	HICseverityK/com/google/common/collect/ImmutableList$Builder
J
NOPgetWhitelistEntryList()Ljava/util/List;RSTUVjava/util/Listiterator()Ljava/util/Iterator;XYZ[java/util/IteratorhasNextX]^_next()Ljava/lang/Object;a7com/google/javascript/jscomp/Requirement$WhitelistEntryc7com/google/javascript/jscomp/ConformanceRules$AllowList
bef<(Lcom/google/javascript/jscomp/Requirement$WhitelistEntry;)V
JhijaddE(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
lmPgetAllowlistEntryList
optsIsAllowlisted	rstuv-com/google/javascript/jscomp/ConformanceRulesALL_TS_ALLOWLIST9Lcom/google/javascript/jscomp/ConformanceRules$AllowList;
xy!getWhitelistCount
{|!getWhitelistRegexpCount
~-getWhitelistList
??-getWhitelistRegexpList
b??#(Ljava/util/List;Ljava/util/List;)V
??!getAllowlistCount
??!getAllowlistRegexpCount
??-getAllowlistList
??-getAllowlistRegexpList
J???build+()Lcom/google/common/collect/ImmutableList;	???
allowlists)Lcom/google/common/collect/ImmutableList;
??!getOnlyApplyToCount
??!getOnlyApplyToRegexpCount
??-getOnlyApplyToList
??-getOnlyApplyToRegexpList	??vonlyApplyTo
??getReportLooseTypeViolations	???reportLooseTypeViolationsZ
???getTypeMatchingStrategy_(Lcom/google/javascript/jscomp/Requirement;)Lcom/google/javascript/jscomp/TypeMatchingStrategy;	???typeMatchingStrategy3Lcom/google/javascript/jscomp/TypeMatchingStrategy;	???requirement*Lcom/google/javascript/jscomp/Requirement;	?????/com/google/javascript/jscomp/ConformanceRules$1H$SwitchMap$com$google$javascript$jscomp$Requirement$TypeMatchingStrategy[I
???A()Lcom/google/javascript/jscomp/Requirement$TypeMatchingStrategy;
????!=com/google/javascript/jscomp/Requirement$TypeMatchingStrategyordinal	?????1com/google/javascript/jscomp/TypeMatchingStrategyLOOSE	????STRICT_NULLABILITY	????SUBTYPES	????EXACT?java/lang/IllegalStateException?Unknown TypeMatchingStrategy
?
?????-com/google/javascript/jscomp/AbstractCompiler
getOptions0()Lcom/google/javascript/jscomp/CompilerOptions;
?????,com/google/javascript/jscomp/CompilerOptions!getConformanceRemoveRegexFromPath#()Lcom/google/common/base/Optional;
????com/google/common/base/Optional	isPresent
???_get?java/util/regex/Pattern
????matcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;?
?????java/util/regex/MatcherreplaceFirst&(Ljava/lang/String;)Ljava/lang/String;
U'com/google/common/collect/ImmutableList2()Lcom/google/common/collect/UnmodifiableIterator;
bmatches(Ljava/lang/String;)Z
	
checkConformance?(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;	
?com/google/javascript/jscomp/ConformanceRules$ConformanceResultlevel@Lcom/google/javascript/jscomp/ConformanceRules$ConformanceLevel;	>com/google/javascript/jscomp/ConformanceRules$ConformanceLevelCONFORMANCE
reportf(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;)V	?CERROR	 !"#-com/google/javascript/jscomp/CheckConformanceCONFORMANCE_ERROR-Lcom/google/javascript/jscomp/DiagnosticType;	%&	VIOLATION	()#CONFORMANCE_VIOLATION	+,#CONFORMANCE_POSSIBLE_VIOLATION	
./9note
1234java/lang/StringisEmpty6

89:;<$com/google/javascript/jscomp/JSErrormake?(Lcom/google/javascript/jscomp/Requirement;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)Lcom/google/javascript/jscomp/JSError;
>?@AB%com/google/javascript/jscomp/NodeUtil
getSourceName6(Lcom/google/javascript/rhino/Node;)Ljava/lang/String;
DEFfindAllowListForPathM(Ljava/lang/String;)Lcom/google/javascript/jscomp/ConformanceRules$AllowList;
?HIJgetErrorManager-()Lcom/google/javascript/jscomp/ErrorManager;	bLMNallowlistEntry9Lcom/google/javascript/jscomp/Requirement$WhitelistEntry;
?PQRfromNullable5(Ljava/lang/Object;)Lcom/google/common/base/Optional;
?TU?absentWXYZ[)com/google/javascript/jscomp/ErrorManager shouldReportConformanceViolationt(Lcom/google/javascript/jscomp/Requirement;Lcom/google/common/base/Optional;Lcom/google/javascript/jscomp/JSError;)Z
?]^)(Lcom/google/javascript/jscomp/JSError;)V`2com/google/javascript/jscomp/CheckConformance$Rule	SignaturedLcom/google/common/collect/ImmutableList;RuntimeVisibleTypeAnnotations#Lorg/jspecify/annotations/Nullable;\(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/jscomp/Requirement;)VCodeLineNumberTableLocalVariableTableentry	allowlistthis;
StackMapTable
ExceptionsMethodParameterstnpath	pathRegex!Lcom/google/common/base/Optional;;checkQ(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;)V,Lcom/google/javascript/jscomp/NodeTraversal;"Lcom/google/javascript/rhino/Node;resultALcom/google/javascript/jscomp/ConformanceRules$ConformanceResult;msg	separatorerr&Lcom/google/javascript/jscomp/JSError;shouldReport?+com/google/javascript/jscomp/DiagnosticType? com/google/javascript/rhino/Node
SourceFileConformanceRules.javaNestHostBootstrapMethods?
???4?$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;?
  defined in InnerClassesInvalidRequirementSpecAbstractRuleSeverityBuilderWhitelistEntry	AllowListTypeMatchingStrategyConformanceResultConformanceLevelRule?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!_89IC??ab?vcd??????ef?o*?,??
?
Y??*+?,?N,??-"?$,?*?.?2N*-?6,?:?>?
*?D?G?*,?:?G?JY?L:,?M?Q:?W?!?\?`:?bY?d?gW???,?k?Q:?W?!?\?`:?bY?d?gW???*?n??q?gW,?w?
,?z??bY,?},????:?gW,???
,????bY,??,????:?gW*????,???
,???*?bY,??,???????*??*,????*,????*,???g?&??????&?)?9?>?H?R?Z?c?????????????????????????'0>DT	Yai
nh\	?iN?iN?jvjvokloo??P89cmnocmpq7???#1?JX?'?
X?'

r
s	?pf,?ghkl
??f?B??*?¶?.?-!%)?ʰ?ϰ?Ұ?հ??Yڷܿg(,048hB??q(s?
s	tuEFf?P*??ݶ?M,??,????+?????L*????N-?W?-?\?b:+???????g"*+,#/?0H1K3N4h*?jvPklPv9EwxoEwyq?#??X?svcdz{fz*+,?N-???	*,-??g9:;=h*klt|u}~q?
s	tuf
	?*?G??
?N?,??$?
?'N??*N,?-?0???5:*??+-?1Y*?6SYSY,?-S?7:+?=:?*?C?:*??G*????K?O??S?V6?$?*???*????*??\?gJG
KMN"P&S:T\VbWsXwZ~]?^?_?[?b?c?ehp?#?#?kl?u}?~&??#:??9\e??b_v9sNjv?'??qq??B1?7181@b??
?181bW??
?181bW??%s	u~???r????b
?	r?	??@J?`?br?
???@
r?	r?@_?	???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy