parameters: ()
docstring: Method to be called from within a parse action to determine the end
         location of the parsed tokens.
docstring_summary: Method to be called from within a parse action to determine the end
         location of the parsed tokens.
docstring_tokens: Method to be called from within a parse action to determine the end location of the parsed tokens .
function: def getTokensEndLoc():
      """Method to be called from within a parse action to determine the end
         location of the parsed tokens."""
      import inspect
      fstack = inspect.stack()
      try:
          # search up the stack (through intervening argument normalizers) for correct calling routine
          for f in fstack[2:]:
              if f[3] == "_parseNoCache":
                  endloc = f[0].f_locals["loc"]
                  return endloc
          else:
              raise ParseFatalException("incorrect usage of getTokensEndLoc - may only be called from within a parse action")
      finally:
          del fstack
function_tokens: def getTokensEndLoc ( ) : import inspect fstack = inspect . stack ( ) try : # search up the stack (through intervening argument normalizers) for correct calling routine for f in fstack [ 2 : ] : if f [ 3 ] == "_parseNoCache" : endloc = f [ 0 ] . f_locals [ "loc" ] return endloc else : raise ParseFatalException ( "incorrect usage of getTokensEndLoc - may only be called from within a parse action" ) finally : del fstack