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

com.groupbyinc.flux.common.antlr.v4.runtime.TokenStreamRewriter.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2??com/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriterjava/lang/ObjectTokenStreamRewriter.javaIcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$ReplaceOp	ReplaceOpNcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$InsertBeforeOp	InsertBeforeOpPcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$RewriteOperationRewriteOperationDEFAULT_PROGRAM_NAMELjava/lang/String;defaultPROGRAM_INIT_SIZEIdMIN_TOKEN_INDEXtokens9Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStream;programsLjava/util/Map;?Ljava/util/Map;>;lastRewriteTokenIndexes6Ljava/util/Map;<(Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStream;)V()V!
"	$java/util/HashMap&
'"	)java/util/ArrayList+(I)V-
,.
java/util/Map0put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;2314	6thisALcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter;getTokenStream;()Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStream;rollback(Ljava/lang/String;I)V<=
>instructionIndexget&(Ljava/lang/Object;)Ljava/lang/Object;AB1Cjava/util/ListEsubList(II)Ljava/util/List;GHFIprogramNameisdLjava/util/List;Ljava/util/List;
deleteProgram(Ljava/lang/String;)VOP
QinsertAfterH(Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Ljava/lang/Object;)VZ(Ljava/lang/String;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Ljava/lang/Object;)VSU
Vt3Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;textLjava/lang/Object;(ILjava/lang/Object;)V((Ljava/lang/String;ILjava/lang/Object;)VS]
^index1com/groupbyinc/flux/common/antlr/v4/runtime/Tokena
getTokenIndex()IcdbeinsertBeforeg]
hgU
jW(Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter;ILjava/lang/Object;)Vl

m
getProgram$(Ljava/lang/String;)Ljava/util/List;op
qsizesdFt@	
vadd(Ljava/lang/Object;)ZxyFzopRLcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$RewriteOperation;rewritesreplace)(Ljava/lang/String;IILjava/lang/Object;)V?
?(IILjava/lang/Object;)Vfromto?(Ljava/lang/String;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Ljava/lang/Object;)V?
?indexT{(Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Ljava/lang/Object;)V7com/groupbyinc/flux/common/antlr/v4/runtime/TokenStream??t"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?"replace: range invalid: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??..?(size=?)?toString()Ljava/lang/String;??
??P
??X(Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter;IILjava/lang/Object;)V?
?delete(Ljava/lang/String;II)V??
?(II)V6(Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;)V{(Ljava/lang/String;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;)V??
?i(Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;)VgetLastRewriteTokenIndex(Ljava/lang/String;)I??
?java/lang/Integer?intValue?d
??Ljava/lang/Integer;setLastRewriteTokenIndexvalueOf(I)Ljava/lang/Integer;??
??iinitializeProgram?p
?namegetText9com/groupbyinc/flux/common/antlr/v4/runtime/misc/Interval?of?(II)Lcom/groupbyinc/flux/common/antlr/v4/runtime/misc/Interval;??
??a(Ljava/lang/String;Lcom/groupbyinc/flux/common/antlr/v4/runtime/misc/Interval;)Ljava/lang/String;??
?&(Ljava/lang/String;)Ljava/lang/String;O(Lcom/groupbyinc/flux/common/antlr/v4/runtime/misc/Interval;)Ljava/lang/String;interval;Lcom/groupbyinc/flux/common/antlr/v4/runtime/misc/Interval;a?	??b?	??isEmpty()Z??F?????reduceToSingleOperationPerIndex!(Ljava/util/List;)Ljava/util/Map;??
?remove?B1?6(I)Lcom/groupbyinc/flux/common/antlr/v4/runtime/Token;A???getType?db???b?execute(Ljava/lang/StringBuilder;)I??

?values()Ljava/util/Collection;??1?java/util/Collection?iterator()Ljava/util/Iterator;????java/util/IteratorhasNext?next()Ljava/lang/Object;`	
	Z[	
-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?startstopbufLjava/lang/StringBuilder;	indexToOpvLjava/util/Map;(I)Ljava/lang/Object;AFgetKindOfOps4(Ljava/util/List;Ljava/lang/Class;I)Ljava/util/List;
F?	
				
vset'(ILjava/lang/Object;)Ljava/lang/Object;!"F#	

?	(java/lang/String*	lastIndex,	-	vjava/lang/Math0min(II)I23
14max63
17java/lang/System9outLjava/io/PrintStream;;<	:=new rop ?java/io/PrintStreamAprintlnCP
BDreplace op boundaries of F overlap with previous H	catOpText8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;JK
L
insert op N within boundaries of previous Pjava/lang/ErrorRshould only be one op per indexT
S?iopPLcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$InsertBeforeOp;disjointZsameprevRopKLcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$ReplaceOp;ropinsertscLjava/util/List<+Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$InsertBeforeOp;>;prevReplaces^Ljava/util/List<+Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$ReplaceOp;>;prevIopprevInsertsmxy
,"java/lang/Classi
isInstanceky
jlcastnB
joeLjava/util/List<+Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$RewriteOperation;>;kindLjava/lang/Class;Ljava/lang/Class;beforeopsLjava/util/List;
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTablex(Ljava/lang/String;)Ljava/util/List;?(Ljava/util/List;)Ljava/util/Map;?(Ljava/util/List<+Lcom/groupbyinc/flux/common/antlr/v4/runtime/TokenStreamRewriter$RewriteOperation;>;Ljava/lang/Class;I)Ljava/util/List<+TT;>;
SourceFileInnerClasses!xxxyy& z}5*?#*+?%*?'Y?(?**?*?,Yd?/?5W*?'Y?(?7?{5895|??	??)?4?:;z/*?%?{89|?<-z@*???{89@|
??<=z?&*?*+?D?FN-?*?*+-?J?5W?{*&89&K&@LN}LM|???%?~?%FO!z5*?R?{89|
??OPz?*+???{89K|
??STzK	*+,?W?{ 	89	XY	Z[|
??S\zK	*,?_?{ 	89	`	Z[|
??SUzY
*+,?f-?_?{*
89
K
XY
Z[|
??S]zV
*+`-?i?{*
89
K
`
Z[|
	gTzK	*+,?k?{ 	89	XY	Z[|
g\zK	*,?i?{ 	89	`	Z[|

gUzY
*+,?f-?i?{*
89
K
XY
Z[|
g]z?*?
Y*-?n:*+?r:?u?w?{W?{>*89*K*`*Z[|}~N}~M|)\zL
*,???{ 
89
`
Z[|
	?zV
*-???{*
89
?
?
Z[|
	TzL
*++,???{ 
89
?Y
Z[|
!	"?zV
*+,-???{*
89
?Y
?Y
Z[|
%	&?z????*?%???=??Y??Y???????????????*?%?????????????Y*??:*+?r:?u?w?{W?{H?89?K?????Z[b|}i~N}i~M|)*T,b-i.u/0~9?zv*+,?f-?f???{489K?Y?YZ[|34	537?-zA	*???{	89	`|
:;??zK	*???{ 	89	?	?|
>???zA	*++???{	89	?Y|
BC??zK	*+,???{ 	89	?Y	?Y|
FG??zU	*+???{*	89	K	?	?|
JK??zU	*+,-???{*	89	K	?Y	?Y|
NO?dz1*???{89|R??zq*?7+?D??M,??,???{ 89K?|VWXZ~???=zR*?7+?ù5W?{ 89K?|
^_opz?*?*+?D?FM,?	*+??M,?{ 89?LN}LM|bcdf~?Fy?pzp?,Yd?/M*?*+,?5W,?{ 89?
LN}
LM|j
kly??z@**?%??d?϶Ұ{89|s??zI*+*?%??d?϶Ұ{89K|z??z<*+?Ұ{89??|???zz5*?*+?D?FN,??6,??6*?%??d?*?%??d6?6-?-???*?%,?????Y??:*-??:6?k*?%???]?ùD?
:	?ù?W*?%??:
	?!
???
????W??	??6???*?%??d?H????:		??0	??
:

?
*?%??d?
??W??????{z?F|}	?,XY
|}
5895K5??'~N!`?g?k??}'~Mg?|b????7???L?W?`?g?k??????????????????????,?/?~/?7F
??1?\
b??3???z??=+?u?+??
N-???-????+??:*+
?:?:?????
:???F+? ?$W??Y???%?&???'??'?&?)?????'?*?????.?+? ?$W??s*+?:?:????:??? ?.?.?+?/?$W????.????.??6	????.?.??6
?'?_?'?W	?R+?/?$W???5??.?.?8?.?>??Y??@??????E?5	?0
?+??Y??Y??G???I??????????????=+?u?$+??
N-??-?
??+??
:*+
?:?:?????
:???#*?%?%?M?%+? ?$W???*+?:?:?????:???"*?%?'?M?'+?$W??????8??.?+??Y??Y??O???Q??????????|???ػ'Y?(M>+?u?J+??
:??0,?
?ùD??SYU?V?,?
???5W????,?{?]wWXK?YZ	l?[Z
\]?|}4?^]>?_N?$aN	?h-cX?n^]"|}??WXI?dN??aN
+?X5|}BQ??89?~N@Ue}>>?_`?$abI?d`??ab?~M@Ue|?;????(?4?>?]?j?w?????????'*	Kl???????") 3!?#I$h%u(?*?,?.?/?0?1?2?3?56/828;@<L=X>`?q@|B?<?E~?$??
	?F?VF
F
??F
F
?+?&??F??@?@?e?1?F???
	?
F?B??F?A?A?F??	1?
??y?JKz?0)N):+?+?&N,?	,?&:??Y??-???????{40890?[0?[,f	'g|IJ	KLM~?++	zR?,Y?h:6?@+?u?5+??
:??,?m?,?p?{W?????{H*|}C?R89R~NRrtRu	IvN} R~qRrs	Ivw|"R	ST*U2V;WISOZ~?F?%
??y???






© 2015 - 2025 Weber Informatics LLC | Privacy Policy