parameters: (self, sTag, aasSections, iTagLine, iEndLine)
return_statement: return True
docstring: Tag:    \@opmaps
          Value:  map[,map2]
  
          Indicates which maps the instruction is in.  There is a default map
          associated with each input file.
docstring_summary: Tag:    \@opmaps
          Value:  map[,map2]
docstring_tokens: Tag : \ @opmaps Value : map [ map2 ]
function: def parseTagOpMaps(self, sTag, aasSections, iTagLine, iEndLine):
          """
          Tag:    \@opmaps
          Value:  map[,map2]
  
          Indicates which maps the instruction is in.  There is a default map
          associated with each input file.
          """
          oInstr = self.ensureInstructionForOpTag(iTagLine);
  
          # Flatten, split up and validate the value.
          sFlattened = self.flattenAllSections(aasSections, sLineSep = ',', sSectionSep = ',');
          asMaps = sFlattened.split(',');
          if not asMaps:
              return self.errorComment(iTagLine, '%s: value required' % (sTag,));
          for sMap in asMaps:
              if sMap not in g_dInstructionMaps:
                  return self.errorComment(iTagLine, '%s: invalid map value: %s  (valid values: %s)'
                                                     % (sTag, sMap, ', '.join(g_dInstructionMaps.keys()),));
  
          # Add the maps to the current list.  Throw errors on duplicates.
          for oMap in oInstr.aoMaps:
              if oMap.sName in asMaps:
                  return self.errorComment(iTagLine, '%s: duplicate map assignment: %s' % (sTag, oMap.sName));
  
          for sMap in asMaps:
              oMap = g_dInstructionMaps[sMap];
              if oMap not in oInstr.aoMaps:
                  oInstr.aoMaps.append(oMap);
              else:
                  self.errorComment(iTagLine, '%s: duplicate map assignment (input): %s' % (sTag, sMap));
  
          _ = iEndLine;
          return True;
function_tokens: def parseTagOpMaps ( self , sTag , aasSections , iTagLine , iEndLine ) : oInstr = self . ensureInstructionForOpTag ( iTagLine ) # Flatten, split up and validate the value. sFlattened = self . flattenAllSections ( aasSections , sLineSep = ',' , sSectionSep = ',' ) asMaps = sFlattened . split ( ',' ) if not asMaps : return self . errorComment ( iTagLine , '%s: value required' % ( sTag , ) ) for sMap in asMaps : if sMap not in g_dInstructionMaps : return self . errorComment ( iTagLine , '%s: invalid map value: %s  (valid values: %s)' % ( sTag , sMap , ', ' . join ( g_dInstructionMaps . keys ( ) ) , ) ) # Add the maps to the current list.  Throw errors on duplicates. for oMap in oInstr . aoMaps : if oMap . sName in asMaps : return self . errorComment ( iTagLine , '%s: duplicate map assignment: %s' % ( sTag , oMap . sName ) ) for sMap in asMaps : oMap = g_dInstructionMaps [ sMap ] if oMap not in oInstr . aoMaps : oInstr . aoMaps . append ( oMap ) else : self . errorComment ( iTagLine , '%s: duplicate map assignment (input): %s' % ( sTag , sMap ) ) _ = iEndLine return True