Lines Matching refs:theText
49 + (ANTLRRewriteOperation *) newANTLRRewriteOperation:(NSInteger)anIndex Text:(NSString *)theText
51 return [[ANTLRRewriteOperation alloc] initWithIndex:anIndex Text:theText];
54 - (id) initWithIndex:(NSInteger)anIndex Text:(NSString *)theText
58 text = theText;
96 + (ANTLRInsertBeforeOp *) newANTLRInsertBeforeOp:(NSInteger) anIndex Text:(NSString *)theText
98 return [[ANTLRInsertBeforeOp alloc] initWithIndex:anIndex Text:theText];
101 - (id) initWithIndex:(NSInteger)anIndex Text:(NSString *)theText
103 if ((self = [super initWithIndex:anIndex Text:theText]) != nil) {
105 text = theText;
129 + (ANTLRReplaceOp *) newANTLRReplaceOp:(NSInteger)from ToIndex:(NSInteger)to Text:(NSString*)theText
131 return [[ANTLRReplaceOp alloc] initWithIndex:from ToIndex:to Text:theText];
134 - (id) initWithIndex:(NSInteger)from ToIndex:(NSInteger)to Text:(NSString *)theText
136 if ((self = [super initWithIndex:from Text:theText]) != nil) {
279 - (void) insertAfterToken:(id<ANTLRToken>)t Text:(NSString *)theText
281 [self insertAfterProgNam:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText];
284 - (void) insertAfterIndex:(NSInteger)anIndex Text:(NSString *)theText
286 … [self insertAfterProgNam:DEFAULT_PROGRAM_NAME Index:(NSInteger)anIndex Text:(NSString *)theText];
289 …(void) insertAfterProgNam:(NSString *)programName Index:(NSInteger)anIndex Text:(NSString *)theText
292 [self insertBeforeProgName:programName Index:anIndex+1 Text:theText];
304 - (void) insertBeforeToken:(id<ANTLRToken>)t Text:(NSString *)theText
306 [self insertBeforeProgName:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText];
309 - (void) insertBeforeIndex:(NSInteger)anIndex Text:(NSString *)theText
311 [self insertBeforeProgName:DEFAULT_PROGRAM_NAME Index:anIndex Text:theText];
314 …oid) insertBeforeProgName:(NSString *)programName Index:(NSInteger)rwIndex Text:(NSString *)theText
317 ANTLRRewriteOperation *op = [ANTLRInsertBeforeOp newANTLRInsertBeforeOp:rwIndex Text:theText];
323 - (void) replaceFromIndex:(NSInteger)anIndex Text:(NSString *)theText
325 [self replaceProgNam:DEFAULT_PROGRAM_NAME FromIndex:anIndex ToIndex:anIndex Text:theText];
328 - (void) replaceFromIndex:(NSInteger)from ToIndex:(NSInteger)to Text:(NSString *)theText
330 [self replaceProgNam:DEFAULT_PROGRAM_NAME FromIndex:from ToIndex:to Text:theText];
333 - (void) replaceFromToken:(id<ANTLRToken>)anIndexT Text:(NSString *)theText
335 …ULT_PROGRAM_NAME FromIndex:[anIndexT getTokenIndex] ToIndex:[anIndexT getTokenIndex] Text:theText];
338 - (void) replaceFromToken:(id<ANTLRToken>)from ToToken:(id<ANTLRToken>)to Text:(NSString *)theText
340 …ogNam:DEFAULT_PROGRAM_NAME FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex] Text:theText];
343 …NSString *)programName Token:(id<ANTLRToken>)from Token:(id<ANTLRToken>)to Text:(NSString *)theText
345 …replaceProgNam:programName FromIndex:[from getTokenIndex] ToIndex:[to getTokenIndex] Text:theText];
348 …am:(NSString *)programName FromIndex:(NSInteger)from ToIndex:(NSInteger)to Text:(NSString *)theText
353 ANTLRRewriteOperation *op = [ANTLRReplaceOp newANTLRReplaceOp:from ToIndex:to Text:theText];