/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 96 public const string DEFAULT_PROGRAM_NAME = "default"; field in Antlr.Runtime.TokenRewriteStream 193 programs[DEFAULT_PROGRAM_NAME] = new List<RewriteOperation>(PROGRAM_INIT_SIZE); in Init() 208 Rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in Rollback() 229 DeleteProgram(DEFAULT_PROGRAM_NAME); in DeleteProgram() 238 InsertAfter(DEFAULT_PROGRAM_NAME, t, text); in InsertAfter() 242 InsertAfter(DEFAULT_PROGRAM_NAME, index, text); in InsertAfter() 256 InsertBefore(DEFAULT_PROGRAM_NAME, t, text); in InsertBefore() 260 InsertBefore(DEFAULT_PROGRAM_NAME, index, text); in InsertBefore() 276 Replace(DEFAULT_PROGRAM_NAME, index, index, text); in Replace() 280 Replace(DEFAULT_PROGRAM_NAME, from, to, text); in Replace() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 100 public const string DEFAULT_PROGRAM_NAME = "default"; field in Antlr.Runtime.TokenRewriteStream 217 programs[DEFAULT_PROGRAM_NAME] = new List<RewriteOperation>( PROGRAM_INIT_SIZE ); in Init() 235 Rollback( DEFAULT_PROGRAM_NAME, instructionIndex ); in Rollback() 259 DeleteProgram( DEFAULT_PROGRAM_NAME ); in DeleteProgram() 270 InsertAfter( DEFAULT_PROGRAM_NAME, t, text ); in InsertAfter() 275 InsertAfter( DEFAULT_PROGRAM_NAME, index, text ); in InsertAfter() 291 InsertBefore( DEFAULT_PROGRAM_NAME, t, text ); in InsertBefore() 296 InsertBefore( DEFAULT_PROGRAM_NAME, index, text ); in InsertBefore() 314 Replace( DEFAULT_PROGRAM_NAME, index, index, text ); in Replace() 319 Replace( DEFAULT_PROGRAM_NAME, from, to, text ); in Replace() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 84 public static final String DEFAULT_PROGRAM_NAME = "default"; field in TokenRewriteStream 173 programs.put(DEFAULT_PROGRAM_NAME, new ArrayList(PROGRAM_INIT_SIZE)); in init() 188 rollback(DEFAULT_PROGRAM_NAME, instructionIndex); in rollback() 203 deleteProgram(DEFAULT_PROGRAM_NAME); in deleteProgram() 212 insertAfter(DEFAULT_PROGRAM_NAME, t, text); in insertAfter() 216 insertAfter(DEFAULT_PROGRAM_NAME, index, text); in insertAfter() 229 insertBefore(DEFAULT_PROGRAM_NAME, t, text); in insertBefore() 233 insertBefore(DEFAULT_PROGRAM_NAME, index, text); in insertBefore() 248 replace(DEFAULT_PROGRAM_NAME, index, index, text); in replace() 252 replace(DEFAULT_PROGRAM_NAME, from, to, text); in replace() [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 78 DEFAULT_PROGRAM_NAME: "default", property 142 this.programs[trs.DEFAULT_PROGRAM_NAME] = []; 155 programName = trs.DEFAULT_PROGRAM_NAME; 169 programName = programName || trs.DEFAULT_PROGRAM_NAME; 193 programName = trs.DEFAULT_PROGRAM_NAME; 246 programName = trs.DEFAULT_PROGRAM_NAME; 267 programName = trs.DEFAULT_PROGRAM_NAME; 290 programName = trs.DEFAULT_PROGRAM_NAME; 295 programName = trs.DEFAULT_PROGRAM_NAME; 336 programName = programName || trs.DEFAULT_PROGRAM_NAME; [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTokenRewriteStream.m | 35 static NSString *DEFAULT_PROGRAM_NAME = @"default"; 206 …[programs addObject:[ANTLRMapElement newANTLRMapElementWithName:DEFAULT_PROGRAM_NAME Node:[ANTLRHa… 216 …[programs addObject:[ANTLRMapElement newANTLRMapElementWithName:DEFAULT_PROGRAM_NAME Node:[ANTLRHa… 227 …[programs addObject:[ANTLRMapElement newANTLRMapElementWithName:DEFAULT_PROGRAM_NAME Node:[ANTLRHa… 247 [self rollback:DEFAULT_PROGRAM_NAME Index:instructionIndex]; 270 [self deleteProgram:DEFAULT_PROGRAM_NAME]; 281 [self insertAfterProgNam:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText]; 286 … [self insertAfterProgNam:DEFAULT_PROGRAM_NAME Index:(NSInteger)anIndex Text:(NSString *)theText]; 306 [self insertBeforeProgName:DEFAULT_PROGRAM_NAME Index:[t getTokenIndex] Text:theText]; 311 [self insertBeforeProgName:DEFAULT_PROGRAM_NAME Index:anIndex Text:theText]; [all …]
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 84 public static const DEFAULT_PROGRAM_NAME:String = "default"; constant in org.antlr.runtime.TokenRewriteStream 98 programs[DEFAULT_PROGRAM_NAME] = new Array(); 105 public function rollback(instructionIndex:int, programName:String = DEFAULT_PROGRAM_NAME):void { 113 public function deleteProgram(programName:String = DEFAULT_PROGRAM_NAME):void { 117 …public function insertAfterToken(t:Token, text:Object, programName:String = DEFAULT_PROGRAM_NAME):… 121 …public function insertAfter(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):voi… 126 …public function insertBeforeToken(t:Token, text:Object, programName:String = DEFAULT_PROGRAM_NAME)… 130 …public function insertBefore(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):vo… 137 public function replace(index:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { 141 …aceRange(fromIndex:int, toIndex:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void { [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 1078 DEFAULT_PROGRAM_NAME = "default" variable in TokenRewriteStream 1088 self.programs[self.DEFAULT_PROGRAM_NAME] = [] 1105 programName = self.DEFAULT_PROGRAM_NAME 1116 def deleteProgram(self, programName=DEFAULT_PROGRAM_NAME): 1124 programName = self.DEFAULT_PROGRAM_NAME 1146 programName = self.DEFAULT_PROGRAM_NAME 1170 programName = self.DEFAULT_PROGRAM_NAME 1176 programName = self.DEFAULT_PROGRAM_NAME 1213 def getLastRewriteTokenIndex(self, programName=DEFAULT_PROGRAM_NAME): 1259 programName = self.DEFAULT_PROGRAM_NAME [all …]
|
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
D | Antlr.Runtime.pas | 2536 DEFAULT_PROGRAM_NAME = 'default'; 5768 Delete(DEFAULT_PROGRAM_NAME, Start, Stop); 5773 Delete(DEFAULT_PROGRAM_NAME, IndexT, IndexT); 5837 Delete(DEFAULT_PROGRAM_NAME, Start, Stop); 5842 Delete(DEFAULT_PROGRAM_NAME, Index, Index); 5852 DeleteProgram(DEFAULT_PROGRAM_NAME); 5857 Result := GetLastRewriteTokenIndex(DEFAULT_PROGRAM_NAME); 5917 FPrograms.Add(DEFAULT_PROGRAM_NAME, List); 5939 InsertAfter(DEFAULT_PROGRAM_NAME, T, Text); 5945 InsertAfter(DEFAULT_PROGRAM_NAME, Index, Text); [all …]
|