def setResultsName( self, name, listAllMatches=False ):
newself = self.copy()<EOL>newself.resultsName = name<EOL>newself.modalResults = not listAllMatches<EOL>return newself<EOL>
Define name for referencing matching tokens as a nested attribute
           of the returned parse results.
           NOTE: this returns a *copy* of the original ParserElement object;
           this is so that the client can define a basic element, such as an
           integer, and reference it in multiple places with different names.