com.groupbyinc.flux.common.apache.lucene.analysis.pattern.SimplePatternTokenizer.class Maven / Gradle / Ivy
???? 4 ? Pcom/groupbyinc/flux/common/apache/lucene/analysis/pattern/SimplePatternTokenizer ;com/groupbyinc/flux/common/apache/lucene/analysis/Tokenizer SimplePatternTokenizer.java termAtt ULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; offsetAtt SLcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute; runDFA OLcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton; pendingChars [C pendingLimit I pendingUpto offset tokenUpto buffer bufferLimit bufferNextRead $assertionsDisabled Z (Ljava/lang/String;)V DEFAULT_TOKEN_ATTRIBUTE_FACTORY @Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory; V(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;Ljava/lang/String;I)V
this RLcom/groupbyinc/flux/common/apache/lucene/analysis/pattern/SimplePatternTokenizer; regexp Ljava/lang/String; F(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)V ?(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)V &
' dfa CLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; >com/groupbyinc/flux/common/apache/lucene/util/automaton/RegExp +
, - toAutomaton E()Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton; / 0
, 1 factory maxDeterminizedStates C(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;)V 5
6 Scom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute 8 addAttribute L(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute; : ;
< > Qcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute @ B
D
F Acom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton H isDeterministic ()Z J K
I L "java/lang/IllegalArgumentException N /please determinize the incoming automaton first P
O - >com/groupbyinc/flux/common/apache/lucene/util/AttributeFactory S Mcom/groupbyinc/flux/common/apache/lucene/util/automaton/CharacterRunAutomaton U G(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;I)V W
V X
Z incrementToken java/io/IOException ] clearAttributes ()V _ `
a c e
nextCodePoint ()I g h
i step (II)I k l
V m isAccept (I)Z o p
V q pushBack (I)V s t
u setLength X(I)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; w x 9 y
correctOffset (I)I { |
} setOffset (II)V ? A ? extra lastAcceptLength offsetStart ch state end ? `
? ? ? ofs reset ? `
? ? ? 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil ? grow ([CI)[C ? ?
? ? ()[C ? 9 ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? ? java/lang/AssertionError ? `
? ? count
appendToToken (C)V resizeBuffer (I)[C ? ? 9 ?
C nextCodeUnit ? ?
? java/lang/StringBuilder ?
? ? bufferNextRead= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ?
bufferLimit= ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/Object;)V ?
? ? input Ljava/io/Reader; ? ? ? java/io/Reader ? read ([CII)I ? ?
? ? result ? h
? java/lang/Character ? isHighSurrogate (C)Z ? ?
? ? toCodePoint (CC)I ? ?
? ? java/lang/Class ? desiredAssertionStatus ? K
? ? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 1
? D *? +'? ? ? ! " # $ ?
E F % ? A *? +? (? ? ! " ) * ?
J K ? ] *+? ,Y,? .? 2? (? ? * ! " 3 # $ 4 ?
O P &