/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | TokenRewriteStream.cs | 270 IList<RewriteOperation> rewrites = GetProgram(programName); in InsertBefore() 271 op.instructionIndex = rewrites.Count; in InsertBefore() 272 rewrites.Add(op); in InsertBefore() 296 IList<RewriteOperation> rewrites = GetProgram(programName); in Replace() 297 op.instructionIndex = rewrites.Count; in Replace() 298 rewrites.Add(op); in Replace() 391 IList<RewriteOperation> rewrites; in ToString() 392 if (!programs.TryGetValue(programName, out rewrites)) in ToString() 393 rewrites = null; in ToString() 401 if (rewrites == null || rewrites.Count == 0) { in ToString() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TokenRewriteStream.cs | 307 IList<RewriteOperation> rewrites = GetProgram( programName ); in InsertBefore() 308 op.instructionIndex = rewrites.Count; in InsertBefore() 309 rewrites.Add( op ); in InsertBefore() 339 IList<RewriteOperation> rewrites = GetProgram( programName ); in Replace() 340 op.instructionIndex = rewrites.Count; in Replace() 341 rewrites.Add( op ); in Replace() 454 IList<RewriteOperation> rewrites; in ToString() 455 if ( !programs.TryGetValue( programName, out rewrites ) ) in ToString() 456 rewrites = null; in ToString() 464 if ( rewrites == null || rewrites.Count == 0 ) in ToString() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | TokenRewriteStream.java | 242 List rewrites = getProgram(programName); in insertBefore() local 243 op.instructionIndex = rewrites.size(); in insertBefore() 244 rewrites.add(op); in insertBefore() 268 List rewrites = getProgram(programName); in replace() local 269 op.instructionIndex = rewrites.size(); in replace() 270 rewrites.add(op); in replace() 362 List rewrites = (List)programs.get(programName); in toString() local 368 if ( rewrites==null || rewrites.size()==0 ) { in toString() 374 Map indexToOp = reduceToSingleOperationPerIndex(rewrites); in toString() 456 protected Map reduceToSingleOperationPerIndex(List rewrites) { in reduceToSingleOperationPerIndex() argument [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | TokenRewriteStream.js | 200 var rewrites = this.getProgram(programName); 202 for (pos=0, len=rewrites.length; pos<len; pos++) { 203 searchOp = rewrites[pos]; 212 for (i=pos; i<rewrites.length; i++) { 213 prevOp = rewrites[pos]; 218 rewrites[pos] = op; // replace old with new 226 rewrites.splice(i, 0, op); 230 rewrites.splice(pos, 0, op); 234 rewrites.splice(pos, 0, op); 239 rewrites.push(op); [all …]
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | streams.py | 1163 rewrites = self.getProgram(programName) 1164 op.instructionIndex = len(rewrites) 1165 rewrites.append(op) 1204 rewrites = self.getProgram(programName) 1205 op.instructionIndex = len(rewrites) 1206 rewrites.append(op) 1290 rewrites = self.programs.get(programName) 1291 if rewrites is None or len(rewrites) == 0: 1298 indexToOp = self.reduceToSingleOperationPerIndex(rewrites) 1336 def reduceToSingleOperationPerIndex(self, rewrites): argument [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTokenRewriteStream.m | 318 ANTLRHashMap *rewrites = [self getProgram:programName]; 319 op.instructionIndex = [rewrites count]; 320 [rewrites addObject:op]; 354 ANTLRHashMap *rewrites = (ANTLRHashMap *)[lastRewriteTokenIndexes getName:programName]; 355 op.instructionIndex = [rewrites count]; 356 [rewrites addObject:op]; 461 ANTLRHashMap *rewrites = (ANTLRHashMap *)[programs getName:programName]; 468 if ( rewrites == nil || [rewrites count] == 0 ) { 474 ANTLRHashMap *indexToOp = [self reduceToSingleOperationPerIndex:rewrites]; 556 - (ANTLRHashMap *)reduceToSingleOperationPerIndex:(ANTLRHashMap *)rewrites [all …]
|
D | ANTLRTokenRewriteStream.h | 163 - (ANTLRHashMap *)reduceToSingleOperationPerIndex:(ANTLRHashMap *)rewrites; 164 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind; 165 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind Index:(NSInteger)be…
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
D | TokenRewriteStream.as | 70 * rewrites from a single pass over the input. Just name the instruction 132 var rewrites:Array = getProgram(programName); 133 op.instructionIndex = rewrites.length; 134 rewrites.push(op); 146 var rewrites:Array = getProgram(programName); 147 op.instructionIndex = rewrites.length; 148 rewrites.push(op); 222 var rewrites:Array = programs[programName] as Array; 228 if ( rewrites==null || rewrites.length==0 ) { 235 var indexToOp:Array = reduceToSingleOperationPerIndex(rewrites); [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRTokenRewriteStream.h | 163 - (ANTLRHashMap *)reduceToSingleOperationPerIndex:(ANTLRHashMap *)rewrites; 164 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind; 165 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind Index:(NSInteger)be…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRTokenRewriteStream.h | 163 - (ANTLRHashMap *)reduceToSingleOperationPerIndex:(ANTLRHashMap *)rewrites; 164 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind; 165 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind Index:(NSInteger)be…
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRTokenRewriteStream.h | 163 - (ANTLRHashMap *)reduceToSingleOperationPerIndex:(ANTLRHashMap *)rewrites; 164 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind; 165 - (ANTLRHashMap *)getKindOfOps:(ANTLRHashMap *)rewrites KindOfClass:(Class)kind Index:(NSInteger)be…
|
/external/llvm/include/llvm/MC/ |
D | MCTargetAsmParser.h | 76 ParseInstructionInfo(SmallVectorImpl<AsmRewrite> *rewrites) in ParseInstructionInfo() 77 : AsmRewrites(rewrites) {} in ParseInstructionInfo()
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/antlr3/ |
D | TParser.g | 35 // Some imaginary tokens for tree rewrites
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | AST.stg | 76 * These should be turned off if doing rewrites. This must be a "mode" 277 /** For empty rewrites: "r : ... -> ;" */ 341 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | AST.stg | 77 * These should be turned off if doing rewrites. This must be a "mode" 277 /** For empty rewrites: "r : ... -> ;" */ 341 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | AST.stg | 72 * These should be turned off if doing rewrites. This must be a "mode" 276 /** For empty rewrites: "r : ... -> ;" */ 340 * before I set it during rewrites. The assign will be to retval.tree.
|
D | ASTParser.stg | 82 // note there is no matchSetTrack because -> rewrites force sets to be
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | AST.stg | 103 * These should be turned off if doing rewrites. This must be a "mode" 304 /** For empty rewrites: "r : ... -> ;" */ 369 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | AST.stg | 92 * These should be turned off if doing rewrites. This must be a "mode" 309 /** For empty rewrites: "r : ... -> ;" */ 372 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | AST.stg | 105 * These should be turned off if doing rewrites. This must be a "mode" 302 /** For empty rewrites: "r : ... -> ;" */ 367 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | AST.stg | 121 * These should be turned off if doing rewrites. This must be a "mode" 322 /** For empty rewrites: "r : ... -> ;" */ 386 * before I set it during rewrites. The assign will be to retval.Tree.
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 213 * These should be turned off if doing rewrites. This must be a "mode" 432 /** For empty rewrites: "r : ... -> ;" */ 497 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/runtime/C/doxygen/ |
D | changes31.dox | 22 /// The 3.1 runtime now supports tree rewrites from tree parsers. See the main ANTLR
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | AST.stg | 116 * These should be turned off if doing rewrites. This must be a "mode" 421 /** For empty rewrites: "r : ... -> ;" */ 485 * before I set it during rewrites. The assign will be to retval.tree.
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | TreeAdaptor.as | 219 * If your node type doesn't handle this, it's ok but the tree rewrites 226 * If your node type doesn't handle this, it's ok but the tree rewrites
|