Home
last modified time | relevance | path

Searched refs:ReplaceOp (Results 1 – 7 of 7) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs150 class ReplaceOp : RewriteOperation { class in Antlr.Runtime.TokenRewriteStream
152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text) in ReplaceOp() method in Antlr.Runtime.TokenRewriteStream.ReplaceOp
167 class DeleteOp : ReplaceOp {
295 RewriteOperation op = new ReplaceOp(this, from, to, text); in Replace()
498 if (!(op is ReplaceOp)) in ReduceToSingleOperationPerIndex()
500 ReplaceOp rop = (ReplaceOp)rewrites[i]; in ReduceToSingleOperationPerIndex()
511 var prevReplaces = GetKindOfOps(rewrites, typeof(ReplaceOp), i); in ReduceToSingleOperationPerIndex()
513 ReplaceOp prevRop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
552 var prevReplaces = GetKindOfOps(rewrites, typeof(ReplaceOp), i); in ReduceToSingleOperationPerIndex()
554 ReplaceOp rop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs169 private class ReplaceOp : RewriteOperation class in Antlr.Runtime.TokenRewriteStream
172 public ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) in ReplaceOp() method in Antlr.Runtime.TokenRewriteStream.ReplaceOp
338 RewriteOperation op = new ReplaceOp( this, from, to, text ); in Replace()
575 if ( !( op is ReplaceOp ) ) in ReduceToSingleOperationPerIndex()
577 ReplaceOp rop = (ReplaceOp)rewrites[i]; in ReduceToSingleOperationPerIndex()
597 var prevReplaces = GetKindOfOps( rewrites, typeof( ReplaceOp ), i ); in ReduceToSingleOperationPerIndex()
600 ReplaceOp prevRop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
654 var prevReplaces = GetKindOfOps( rewrites, typeof( ReplaceOp ), i ); in ReduceToSingleOperationPerIndex()
657 ReplaceOp rop = (ReplaceOp)prevReplaces[j]; in ReduceToSingleOperationPerIndex()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java138 class ReplaceOp extends RewriteOperation { class in TokenRewriteStream
140 public ReplaceOp(int from, int to, Object text) { in ReplaceOp() method in TokenRewriteStream.ReplaceOp
271 RewriteOperation op = new ReplaceOp(from, to, text); in replace()
467 if ( !(op instanceof ReplaceOp) ) continue; in reduceToSingleOperationPerIndex()
468 ReplaceOp rop = (ReplaceOp)rewrites.get(i); in reduceToSingleOperationPerIndex()
485 List<? extends ReplaceOp> prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
487 ReplaceOp prevRop = prevReplaces.get(j); in reduceToSingleOperationPerIndex()
533 List<? extends ReplaceOp> prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
535 ReplaceOp rop = prevReplaces.get(j); in reduceToSingleOperationPerIndex()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js121 trs.ReplaceOp = function(from, to, text) { class in trs
122 trs.ReplaceOp.superclass.constructor.call(this, from, text);
125 org.antlr.lang.extend(trs.ReplaceOp, trs.RewriteOperation, {
137 org.antlr.lang.extend(trs.DeleteOp, trs.ReplaceOp);
209 if (op instanceof trs.ReplaceOp) {
217 if (prevOp instanceof trs.ReplaceOp) {
319 new trs.ReplaceOp(first, last, text));
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as145 var op:RewriteOperation = new ReplaceOp(fromIndex, toIndex, text);
320 if ( !(op is ReplaceOp) ) continue;
321 var rop:ReplaceOp = ReplaceOp(rewrites[i]);
331 var prevReplaces:Array = getKindOfOps(rewrites, ReplaceOp, i);
333 var prevRop:ReplaceOp = ReplaceOp(prevReplaces[j]);
368 prevReplaces = getKindOfOps(rewrites, ReplaceOp, i);
370 rop = ReplaceOp(prevReplaces[j]);
478 /** I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
481 class ReplaceOp extends RewriteOperation { class
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) { method in ReplaceOp
[all …]
/external/antlr/runtime/Python3/antlr3/
Dstreams.py938 class ReplaceOp(RewriteOperation): class
1148 op = ReplaceOp(self, first, last, text)
1337 if not isinstance(rop, ReplaceOp):
1353 for j, prevRop in self.getKindOfOps(rewrites, ReplaceOp, i):
1400 for j, rop in self.getKindOfOps(rewrites, ReplaceOp, i):
/external/antlr/runtime/Python/antlr3/
Dstreams.py992 class ReplaceOp(RewriteOperation): class
1203 op = ReplaceOp(self, first, last, text)
1397 if not isinstance(rop, ReplaceOp):
1413 for j, prevRop in self.getKindOfOps(rewrites, ReplaceOp, i):
1460 for j, rop in self.getKindOfOps(rewrites, ReplaceOp, i):