/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 102 protected class RewriteOperation { class in Antlr.Runtime.TokenRewriteStream 111 protected RewriteOperation(TokenRewriteStream stream, int index, object text) { in RewriteOperation() method in Antlr.Runtime.TokenRewriteStream.RewriteOperation 132 class InsertBeforeOp : RewriteOperation { 150 class ReplaceOp : RewriteOperation { 182 protected IDictionary<string, IList<RewriteOperation>> programs = null; 192 programs = new Dictionary<string, IList<RewriteOperation>>(); in Init() 193 programs[DEFAULT_PROGRAM_NAME] = new List<RewriteOperation>(PROGRAM_INIT_SIZE); in Init() 218 IList<RewriteOperation> @is; in Rollback() 220 List<RewriteOperation> sublist = new List<RewriteOperation>(); in Rollback() 269 RewriteOperation op = new InsertBeforeOp(this, index, text); in InsertBefore() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 106 protected class RewriteOperation class in Antlr.Runtime.TokenRewriteStream 116 protected RewriteOperation(TokenRewriteStream stream, int index) in RewriteOperation() method in Antlr.Runtime.TokenRewriteStream.RewriteOperation 122 protected RewriteOperation( TokenRewriteStream stream, int index, object text ) in RewriteOperation() method in Antlr.Runtime.TokenRewriteStream.RewriteOperation 148 private class InsertBeforeOp : RewriteOperation 169 private class ReplaceOp : RewriteOperation 204 protected IDictionary<string, IList<RewriteOperation>> programs = null; 216 programs = new Dictionary<string, IList<RewriteOperation>>(); in Init() 217 programs[DEFAULT_PROGRAM_NAME] = new List<RewriteOperation>( PROGRAM_INIT_SIZE ); in Init() 246 IList<RewriteOperation> @is; in Rollback() 249 List<RewriteOperation> sublist = new List<RewriteOperation>(); in Rollback() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 90 class RewriteOperation { class in TokenRewriteStream 97 protected RewriteOperation(int index) { in RewriteOperation() method in TokenRewriteStream.RewriteOperation 101 protected RewriteOperation(int index, Object text) { in RewriteOperation() method in TokenRewriteStream.RewriteOperation 120 class InsertBeforeOp extends RewriteOperation { 136 class ReplaceOp extends RewriteOperation { 241 RewriteOperation op = new InsertBeforeOp(index,text); in insertBefore() 267 RewriteOperation op = new ReplaceOp(from, to, text); in replace() 379 RewriteOperation op = (RewriteOperation)indexToOp.get(new Integer(i)); in toString() 400 RewriteOperation op = (RewriteOperation)it.next(); in toString() 461 RewriteOperation op = (RewriteOperation)rewrites.get(i); in reduceToSingleOperationPerIndex() [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/ |
D | rewrite.rb | 45 unless defined?( RewriteOperation ) 46 RewriteOperation = Struct.new( :stream, :location, :text ) constant in ANTLR3.TokenRewriteStream 66 class RewriteOperation class in ANTLR3.TokenRewriteStream 104 class InsertBefore < RewriteOperation 127 class Replace < RewriteOperation
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 131 var op:RewriteOperation = new InsertBeforeOp(index,text); 145 var op:RewriteOperation = new ReplaceOp(fromIndex, toIndex, text); 240 var op:RewriteOperation = RewriteOperation(indexToOp[i]); 318 var op:RewriteOperation = RewriteOperation(rewrites[i]); 352 op = RewriteOperation(rewrites[i]); 385 op = RewriteOperation(rewrites[i]); 411 var op:RewriteOperation = RewriteOperation(rewrites[i]); 444 class RewriteOperation { class 450 public function RewriteOperation(index:int, text:Object) { method in RewriteOperation 462 class InsertBeforeOp extends RewriteOperation { [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 87 trs.RewriteOperation = function(index, text) { class in trs 95 trs.RewriteOperation.prototype = { 111 org.antlr.lang.extend(trs.InsertBeforeOp, trs.RewriteOperation, { 125 org.antlr.lang.extend(trs.ReplaceOp, trs.RewriteOperation, {
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 953 class RewriteOperation(object): class 982 class InsertBeforeOp(RewriteOperation): 992 class ReplaceOp(RewriteOperation): 1001 RewriteOperation.__init__(self, stream, first, text)
|