Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java136 class ReplaceOp extends RewriteOperation { class in TokenRewriteStream
138 public ReplaceOp(int from, int to, Object text) { in ReplaceOp() method in TokenRewriteStream.ReplaceOp
267 RewriteOperation op = new ReplaceOp(from, to, text); in replace()
463 if ( !(op instanceof ReplaceOp) ) continue; in reduceToSingleOperationPerIndex()
464 ReplaceOp rop = (ReplaceOp)rewrites.get(i); in reduceToSingleOperationPerIndex()
481 List prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
483 ReplaceOp prevRop = (ReplaceOp) prevReplaces.get(j); in reduceToSingleOperationPerIndex()
529 List prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i); in reduceToSingleOperationPerIndex()
531 ReplaceOp rop = (ReplaceOp) prevReplaces.get(j); in reduceToSingleOperationPerIndex()
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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):