HomeSort by relevance Sort by last modified time
    Searched refs:ReplaceOp (Results 1 - 9 of 9) sorted by null

  /external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
TokenRewriteStream.as 145 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
    [all...]
  /external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
TokenRewriteStream.cs 146 * I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
150 class ReplaceOp : RewriteOperation {
152 public ReplaceOp(TokenRewriteStream stream, int from, int to, object text)
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), i)
    [all...]
  /external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
TokenRewriteStream.cs 165 * I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
169 private class ReplaceOp : RewriteOperation
172 public ReplaceOp( TokenRewriteStream stream, int from, int to, object text )
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 prevRop = (ReplaceOp)prevReplaces[j]
    [all...]
  /external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
TokenRewriteStream.java 135 /** I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
138 class ReplaceOp extends RewriteOperation {
140 public ReplaceOp(int from, int to, Object text) {
157 return "<ReplaceOp@"+tokens.get(index)+
271 RewriteOperation op = new ReplaceOp(from, to, text);
467 if ( !(op instanceof ReplaceOp) ) continue;
468 ReplaceOp rop = (ReplaceOp)rewrites.get(i);
485 List<? extends ReplaceOp> prevReplaces = getKindOfOps(rewrites, ReplaceOp.class, i)
    [all...]
  /external/antlr/runtime/JavaScript/src/org/antlr/runtime/
TokenRewriteStream.js 118 /** 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(first, last, text))
    [all...]
  /external/antlr/runtime/Python/antlr3/
streams.py 992 class ReplaceOp(RewriteOperation):
996 I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
1016 return '<ReplaceOp@%d..%d:"%s">' % (
    [all...]
  /external/antlr/runtime/Python3/antlr3/
streams.py 938 class ReplaceOp(RewriteOperation):
942 I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp
962 return '<ReplaceOp@{0.index}..{0.lastIndex}:"{0.text}">'.format(self)
    [all...]
  /external/guice/extensions/persist/lib/
antlr-2.7.5h3.jar 
  /external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
Antlr.Runtime.pas     [all...]

Completed in 309 milliseconds