Home
last modified time | relevance | path

Searched refs:RewriteOperation (Results 1 – 10 of 10) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenRewriteStream.cs102 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/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokenRewriteStream.cs106 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/runtime/Java/src/main/java/org/antlr/runtime/
DTokenRewriteStream.java90 public 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
121 class InsertBeforeOp extends RewriteOperation {
138 class ReplaceOp extends RewriteOperation {
166 protected Map<String, List<RewriteOperation>> programs = null;
176 programs = new HashMap<String, List<RewriteOperation>>(); in init()
177 programs.put(DEFAULT_PROGRAM_NAME, new ArrayList<RewriteOperation>(PROGRAM_INIT_SIZE)); in init()
200 List<RewriteOperation> is = programs.get(programName); in rollback()
245 RewriteOperation op = new InsertBeforeOp(index,text); in insertBefore()
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/streams/
Drewrite.rb45 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/runtime/ObjC/Framework/
DTokenRewriteStream.m43 @implementation RewriteOperation implementation
49 + (RewriteOperation *) newRewriteOperation:(NSInteger)anIndex Text:(NSString *)theText
51 return [[RewriteOperation alloc] initWithIndex:anIndex Text:theText];
317 RewriteOperation *op = [ANTLRInsertBeforeOp newANTLRInsertBeforeOp:rwIndex Text:theText];
353 RewriteOperation *op = [ANTLRReplaceOp newANTLRReplaceOp:from ToIndex:to Text:theText];
479 RewriteOperation *op = (RewriteOperation *)[indexToOp objectAtIndex:i];
502 RewriteOperation *op = [indexToOp objectAtIndex:i2];
562 RewriteOperation *op = (RewriteOperation *)[rewrites objectAtIndex:i];
599 RewriteOperation *op = (RewriteOperation *)[rewrites objectAtIndex:i];
634 RewriteOperation *op = (RewriteOperation *)[rewrites objectAtIndex:i];
[all …]
DTokenRewriteStream.h41 @interface RewriteOperation : CommonTokenStream
54 + (RewriteOperation *) newRewriteOperation:(NSInteger)anIndex Text:(NSString *)text;
67 @interface ANTLRInsertBeforeOp : RewriteOperation {
78 @interface ANTLRReplaceOp : RewriteOperation {
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as131 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/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js87 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/runtime/Python/antlr3/
Dstreams.py953 class RewriteOperation(object): class
982 class InsertBeforeOp(RewriteOperation):
992 class ReplaceOp(RewriteOperation):
1001 RewriteOperation.__init__(self, stream, first, text)
/external/antlr/runtime/Python3/antlr3/
Dstreams.py900 class RewriteOperation(object): class
928 class InsertBeforeOp(RewriteOperation):
938 class ReplaceOp(RewriteOperation):