Searched refs:ReplaceOp (Results 1 - 9 of 9) sorted by relevance

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs146 * I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
150 class ReplaceOp : RewriteOperation { class in class:Antlr.Runtime.TokenRewriteStream
152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text) method in class:Antlr.Runtime.TokenRewriteStream.ReplaceOp
163 return "<ReplaceOp@" + index + ".." + lastIndex + ":\"" + text + "\">";
167 class DeleteOp : ReplaceOp {
295 RewriteOperation op = new ReplaceOp(this, from, to, text);
498 if (!(op is ReplaceOp))
500 ReplaceOp rop = (ReplaceOp)rewrites[i];
511 var prevReplaces = GetKindOfOps(rewrites, typeof(ReplaceOp),
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A 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
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) { function
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DTokenRewriteStream.js118 /** I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
121 trs.ReplaceOp = function(from, to, text) {
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);
185 * the binary search. A ReplaceOp kills any previous replace op. Since
187 * ReplaceOp and cover DeleteOp at same time. :)
209 if (op instanceof trs.ReplaceOp) {
217 if (prevOp instanceof trs.ReplaceOp) {
319 new trs.ReplaceOp(firs
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs165 * I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
169 private class ReplaceOp : RewriteOperation class in class:Antlr.Runtime.TokenRewriteStream
172 public ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) method in class:Antlr.Runtime.TokenRewriteStream.ReplaceOp
194 return string.Format("<ReplaceOp@{0}..{1}:\"{2}\">", stream._tokens[index], stream._tokens[lastIndex], text);
338 RewriteOperation op = new ReplaceOp( this, from, to, text );
575 if ( !( op is ReplaceOp ) )
577 ReplaceOp rop = (ReplaceOp)rewrites[i];
597 var prevReplaces = GetKindOfOps( rewrites, typeof( ReplaceOp ), i );
600 ReplaceOp prevRo
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DTokenRewriteStream.java133 /** I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
136 class ReplaceOp extends RewriteOperation { class in class:TokenRewriteStream
138 public ReplaceOp(int from, int to, Object text) { method in class:TokenRewriteStream.ReplaceOp
153 return "<ReplaceOp@"+tokens.get(index)+
267 RewriteOperation op = new ReplaceOp(from, to, text);
463 if ( !(op instanceof ReplaceOp) ) continue;
464 ReplaceOp rop = (ReplaceOp)rewrites.get(i);
481 List prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i);
483 ReplaceOp prevRo
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py992 class ReplaceOp(RewriteOperation): class in inherits:RewriteOperation
996 I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
1016 return '<ReplaceOp@%d..%d:"%s">' % (
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):
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas2609 /// <summary>I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
6519 Result := '<ReplaceOp@' + IntToStr(Index) + '..' + IntToStr(FLastIndex)
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...

Completed in 412 milliseconds