Java.target.test-classes.org.antlr.v4.runtime.TestCodePointCharStream.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of antlr4-perf-testsuite Show documentation
Show all versions of antlr4-perf-testsuite Show documentation
The ANTLR 4 grammar compiler.
???? 2 ?
H ~
? G ? ?
? ?
? ?
? ?
? ?
? ?
? ?????????
? ? ?
? ?
?
? ? ? X ? Y Z ? a ?
~ ??
?
? ?? ? ?
? ?
? ? ? ? ?
? ?" ?
? ? ? 5 @? ?"
? ? ?
? ? ?
? ? ? ? ? ? ? ? thrown #Lorg/junit/rules/ExpectedException; RuntimeVisibleAnnotations Lorg/junit/Rule; ()V Code LineNumberTable LocalVariableTable this .Lorg/antlr/v4/runtime/TestCodePointCharStream; emptyBytesHasSize0 s *Lorg/antlr/v4/runtime/CodePointCharStream; Lorg/junit/Test; emptyBytesLookAheadReturnsEOF consumingEmptyStreamShouldThrow singleLatinCodePointHasSize1 ,consumingSingleLatinCodePointShouldMoveIndex ,consumingPastSingleLatinCodePointShouldThrow 2singleLatinCodePointLookAheadShouldReturnCodePoint 6multipleLatinCodePointsLookAheadShouldReturnCodePoints 3singleLatinCodePointLookAheadPastEndShouldReturnEOF singleCJKCodePointHasSize1 *consumingSingleCJKCodePointShouldMoveIndex *consumingPastSingleCJKCodePointShouldThrow 0singleCJKCodePointLookAheadShouldReturnCodePoint 1singleCJKCodePointLookAheadPastEndShouldReturnEOF singleEmojiCodePointHasSize1 ,consumingSingleEmojiCodePointShouldMoveIndex /consumingPastEndOfEmojiCodePointWithShouldThrow 2singleEmojiCodePointLookAheadShouldReturnCodePoint 3singleEmojiCodePointLookAheadPastEndShouldReturnEOF getTextWithLatin getTextWithCJK getTextWithEmoji toStringWithLatin toStringWithCJK toStringWithEmoji lookAheadWithLatin lookAheadWithCJK lookAheadWithEmoji
seekWithLatin seekWithCJK
seekWithEmoji lookBehindWithLatin lookBehindWithCJK lookBehindWithEmoji asciiContentsShouldUse8BitBuffer bmpContentsShouldUse16BitBuffer smpContentsShouldUse32BitBuffer
SourceFile TestCodePointCharStream.java M N ? ? ? I J ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/IllegalStateException ? ? cannot consume EOF ? ? ? N X XYZ 愛 java/lang/StringBuilder ? ?
0123456789 34567 ? ? ? ? ? 01234䂔6789 34䂔67 01234 M ? 6789 ? ?
34??????67 01234??????6789 ? ? hello ? ? [B ? ? hello 世界 [C hello ?????? [I ,org/antlr/v4/runtime/TestCodePointCharStream java/lang/Object !org/junit/rules/ExpectedException none %()Lorg/junit/rules/ExpectedException; org/antlr/v4/runtime/CharStreams
fromString >(Ljava/lang/String;)Lorg/antlr/v4/runtime/CodePointCharStream; (org/antlr/v4/runtime/CodePointCharStream size ()I org/junit/Assert assertEquals (JJ)V index toString ()Ljava/lang/String; '(Ljava/lang/Object;Ljava/lang/Object;)V LA (I)I expect (Ljava/lang/Class;)V
expectMessage (Ljava/lang/String;)V consume appendCodePoint (I)Ljava/lang/StringBuilder; "org/antlr/v4/runtime/misc/Interval of ((II)Lorg/antlr/v4/runtime/misc/Interval; getText 8(Lorg/antlr/v4/runtime/misc/Interval;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; seek (I)V getInternalStorage ()Ljava/lang/Object;
assertTrue (Z)V ! G H I J K L &