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

com.google.javascript.jscomp.CheckRegExp.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/CheckRegExpglobalRegExpPropertiesUsedZ
	
Dcom/google/javascript/jscomp/NodeTraversal$AbstractPostOrderCallback()V	compiler/Lcom/google/javascript/jscomp/AbstractCompiler;	reportErrors
*com/google/javascript/jscomp/NodeTraversaltraverse?(Lcom/google/javascript/jscomp/AbstractCompiler;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeTraversal$Callback;)V
%com/google/javascript/jscomp/NodeUtilisReferenceName%(Lcom/google/javascript/rhino/Node;)Z
!"#$% com/google/javascript/rhino/Node	getString()Ljava/lang/String;'RegExp
)*+,-java/lang/Stringequals(Ljava/lang/Object;)Z
/01getScope&()Lcom/google/javascript/jscomp/Scope;
34567"com/google/javascript/jscomp/ScopegetVar>(Ljava/lang/String;)Lcom/google/javascript/jscomp/AbstractVar;
!9:;getToken%()Lcom/google/javascript/rhino/Token;
!=>?
getFirstChild$()Lcom/google/javascript/rhino/Node;	ABCDE!com/google/javascript/rhino/TokenNEW#Lcom/google/javascript/rhino/Token;	AGHECALL	AJKE
INSTANCEOF	AMNEEQ	APQENE	ASTESHEQ	AVWESHNE	AYZECASE	A\]EGETPROP	_`aREGEXP_PROPERTY_SKIPLIST(Lcom/google/common/collect/ImmutableSet;
cdef-&com/google/common/collect/ImmutableSetcontains	hijREGEXP_REFERENCE-Lcom/google/javascript/jscomp/DiagnosticType;
lmnreporte(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/DiagnosticType;[Ljava/lang/String;)V
!pqrisRegExp()Z
!turhasTwoChildren
!wx?getLastChildz
|}~?-com/google/javascript/jscomp/regex/RegExpTreeparseRegExpU(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/regex/RegExpTree;?"java/lang/IllegalArgumentException?#java/lang/IndexOutOfBoundsException	??jMALFORMED_REGEXP
????%java/lang/RuntimeException
getMessage?JSC_REGEXP_REFERENCE?TReferences to the global RegExp object prevents optimization of regular expressions.
?????+com/google/javascript/jscomp/DiagnosticTypewarningS(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/DiagnosticType;?JSC_MALFORMED_REGEXP?!Malformed Regular Expression: {0}?$1?$2?$3?$4?$5?$6?$7?$8?$9?$_?$input?input?	lastMatch?	lastParen?leftContext?rightContext?global?
ignoreCase?	lastIndex?	multiline?source
c???of?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet;?)com/google/javascript/jscomp/CompilerPass	Signature;isGlobalRegExpPropertiesUsedCodeLineNumberTableLocalVariableTablethis*Lcom/google/javascript/jscomp/CheckRegExp;3(Lcom/google/javascript/jscomp/AbstractCompiler;Z)VMethodParametersprocessG(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)Vexterns"Lcom/google/javascript/rhino/Node;rootvisits(Lcom/google/javascript/jscomp/NodeTraversal;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;)V
parentTypefirstnameLjava/lang/String;exLjava/lang/RuntimeException;patternflagst,Lcom/google/javascript/jscomp/NodeTraversal;nparent
StackMapTable
SourceFileCheckRegExp.javaInnerClassesAbstractPostOrderCallback?3com/google/javascript/jscomp/NodeTraversal$CallbackCallback ?ij?j`a???r?/*???G?????b*?*?*+?
*???JD	KLM? ???	???L
*?
,*???
Q	R? 
??
??
???	?????,
,???,? :&?(??+?.?2??-?8:,-?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy