com.google.javascript.jscomp.regex.RegExpTree.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!
???? 74
java/lang/Object ()V
-com/google/javascript/jscomp/regex/RegExpTree numCapturingGroups ()I java/lang/StringBuilder
append (C)Ljava/lang/StringBuilder;
appendSourceCode (Ljava/lang/StringBuilder;)V
length (?:)
-(Ljava/lang/String;)Ljava/lang/StringBuilder;
! " # toString ()Ljava/lang/String; % 5com/google/javascript/jscomp/regex/RegExpTree$1Parser
$ ' ( '(Ljava/lang/String;Ljava/lang/String;)V
$ * + ,
parseTopLevel 1()Lcom/google/javascript/jscomp/regex/RegExpTree;
. / 0 1 2 java/lang/Character isLetter (C)Z
4 5 2 isIdentifierStart
. 7 8 2 isDigit
: ; < = > java/lang/String indexOf (I)I @ ;com/google/javascript/jscomp/regex/RegExpTree$Concatenation ? B C D elements )Lcom/google/common/collect/ImmutableList;
F G H I J 'com/google/common/collect/ImmutableList isEmpty ()Z
F L M N get (I)Ljava/lang/Object;
P Q R S T #com/google/common/collect/Iterables getLast ((Ljava/lang/Iterable;)Ljava/lang/Object; V 4com/google/javascript/jscomp/regex/RegExpTree$Anchor U X Y Z type C \ \0 ^ \f ` \t b \n d \r f \\ h \u j 0123456789abcdef
: l m n charAt (I)C p \x r @com/google/javascript/jscomp/regex/RegExpTree$LookaheadAssertion t u v w x 3com/google/javascript/jscomp/regex/RegExpTree$Empty INSTANCE 5Lcom/google/javascript/jscomp/regex/RegExpTree$Empty;
q z { 3(Lcom/google/javascript/jscomp/regex/RegExpTree;Z)V } ~
NEVER_MATCHES /Lcom/google/javascript/jscomp/regex/RegExpTree;
? ? ? ? ? -com/google/javascript/jscomp/regex/CharRanges inclusive 3(II)Lcom/google/javascript/jscomp/regex/CharRanges; ? ? ? DIGITS /Lcom/google/javascript/jscomp/regex/CharRanges; ? ? ?
UCASE_LETTERS ? ? ?
LCASE_LETTERS
? ? ? ? union `(Lcom/google/javascript/jscomp/regex/CharRanges;)Lcom/google/javascript/jscomp/regex/CharRanges; ? ? ? LETTERS
? ? ? ? withMembers 3([I)Lcom/google/javascript/jscomp/regex/CharRanges; ? ? ?
WORD_CHARS ? ? ? ? ALL_CODE_UNITS
? ? ? ?
difference ? ? ? INVERSE_WORD_CHARS ?? ? ? ? SPACE_CHARS ? ? ? IE_SPACE_CHARS ? ? ? IE_SPEC_ERRORS
? ? ? ? ? &com/google/common/collect/ImmutableMap builder 2()Lcom/google/common/collect/ImmutableMap$Builder;
. ? ? ? valueOf (C)Ljava/lang/Character;
? ? ? ? ? .com/google/common/collect/ImmutableMap$Builder put V(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
? ? ? ? buildOrThrow *()Lcom/google/common/collect/ImmutableMap; ? ? ? NAMED_CHAR_GROUPS (Lcom/google/common/collect/ImmutableMap; ? 5com/google/javascript/jscomp/regex/RegExpTree$Charset ? ? ? ? EMPTY
? ? ? a(Lcom/google/javascript/jscomp/regex/CharRanges;Lcom/google/javascript/jscomp/regex/CharRanges;)V ? ? ? DOT_CHARSET 7Lcom/google/javascript/jscomp/regex/RegExpTree$Charset; Signature nLcom/google/common/collect/ImmutableMap; Code LineNumberTable LocalVariableTable this simplify C(Ljava/lang/String;)Lcom/google/javascript/jscomp/regex/RegExpTree; MethodParameters flags isCaseSensitive containsAnchor hasCapturingGroup
StackMapTable children ()Ljava/util/List; D()Ljava/util/List<+Lcom/google/javascript/jscomp/regex/RegExpTree;>; sb appendDebugInfo Ljava/lang/StringBuilder; equals (Ljava/lang/Object;)Z o hashCode parseRegExp U(Ljava/lang/String;Ljava/lang/String;)Lcom/google/javascript/jscomp/regex/RegExpTree; pattern Ljava/lang/String; ch isIdentifierPart matchesWholeInput D(Lcom/google/javascript/jscomp/regex/RegExpTree;Ljava/lang/String;)Z t c =Lcom/google/javascript/jscomp/regex/RegExpTree$Concatenation; first last escapeCharOnto (CLjava/lang/StringBuilder;)V
SourceFile RegExpTree.java NestMembers /com/google/javascript/jscomp/regex/RegExpTree$1 Gcom/google/javascript/jscomp/regex/RegExpTree$Concatenation$1Simplifier ?com/google/javascript/jscomp/regex/RegExpTree$DecomposedCharset Ccom/google/javascript/jscomp/regex/RegExpTree$UnicodePropertyEscape ?com/google/javascript/jscomp/regex/RegExpTree$NamedCaptureGroup