original_docstring: 
              Parses query string that contain multiple queries into QueryBlock
              instances and returns associated list.
              Assuming that structure of a query has to be:
  
                  SELECT FROM ${table_name} WHERE @param = 1 [AND @param = 2...]
  
              method uses regular expressions to identify parts of the query and
              check for correct syntax. If syntax is wrong SyntaxError is raised.
  
              Multiple queries can be passed as one single string. In this case
              they have to be separated by ";" (as delimeter). Quite similar to
              SQL in this way.
  
              Args:
                  queryset (str): query string (one or more queries)
  
              Returns:
                  list<QueryBlock>: list of QueryBlock instances that
                                      represent each query
          
docstring: Parses query string that contain multiple queries into QueryBlock
  instances and returns associated list.
  Assuming that structure of a query has to be.
  
  SELECT FROM ${table_name} WHERE @param = 1 [AND @param = 2...]
  
  method uses regular expressions to identify parts of the query and
  check for correct syntax. If syntax is wrong SyntaxError is raised.
  
  Multiple queries can be passed as one single string. In this case
  they have to be separated by ";" (as delimeter). Quite similar to
  SQL in this way.
docstring_tokens: Parses query string that contain multiple queries into QueryBlock instances and returns associated list . Assuming that structure of a query has to be . SELECT FROM $ { table_name } WHERE @param = 1 [ AND @param = 2 ... ] method uses regular expressions to identify parts of the query and check for correct syntax . If syntax is wrong SyntaxError is raised . Multiple queries can be passed as one single string . In this case they have to be separated by " ; " ( as delimeter ) . Quite similar to SQL in this way .
code: def parse(self, queryset):
          """
              Parses query string that contain multiple queries into QueryBlock
              instances and returns associated list.
              Assuming that structure of a query has to be:
  
                  SELECT FROM ${table_name} WHERE @param = 1 [AND @param = 2...]
  
              method uses regular expressions to identify parts of the query and
              check for correct syntax. If syntax is wrong SyntaxError is raised.
  
              Multiple queries can be passed as one single string. In this case
              they have to be separated by ";" (as delimeter). Quite similar to
              SQL in this way.
  
              Args:
                  queryset (str): query string (one or more queries)
  
              Returns:
                  list<QueryBlock>: list of QueryBlock instances that
                                      represent each query
          """
          misc.checkTypeAgainst(type(queryset), StringType, __file__)
          if len(queryset) == 0:
              misc.raiseValueError("Query set is empty", __file__)
  
          # initialise list of query blocks
          queryBlocks = []
          # build list of queries
          queries = queryset.split(_QUERY_DELIMITER)
          for query in queries:
              query = query.strip()
              # if query is empty, skip it
              if query == "": continue
              # reset maps
              self._predicatesMap = {}; self._tablesMap = {}
              # replace predicates
              query = self._queryStringParsingCycle(_PREDICATE_PATTERN, query,
                          _KEY_PARAMETER, self._predicatesMap, False)
              # replace tables
              query = self._queryStringParsingCycle(_TABLE_PATTERN, query,
                          _KEY_PARAMETER, self._tablesMap, False)
              # check syntax
              group = re.match(_QUERY_PATTERN, query, re.I)
              if group is None or group.group() != query:
                  misc.raiseSyntaxError(1, query, __file__)
              # start creating query block
              queryStatement = None
              for table in self._tablesMap.values():
                  queryStatement = QueryStatement.createWithTable(table)
              queryPredicates = []
              for predicate in self._predicatesMap.values():
                  queryPredicate = QueryPredicate.createFromPredicate(predicate)
                  queryPredicates.append(queryPredicate)
              # add query block to the global list
              queryBlocks.append(QueryBlock(queryStatement, queryPredicates))
          return queryBlocks
code_tokens: def parse ( self , queryset ) : misc . checkTypeAgainst ( type ( queryset ) , StringType , __file__ ) if len ( queryset ) == 0 : misc . raiseValueError ( "Query set is empty" , __file__ ) queryBlocks = [ ] queries = queryset . split ( _QUERY_DELIMITER ) for query in queries : query = query . strip ( ) if query == "" : continue self . _predicatesMap = { } ; self . _tablesMap = { } query = self . _queryStringParsingCycle ( _PREDICATE_PATTERN , query , _KEY_PARAMETER , self . _predicatesMap , False ) query = self . _queryStringParsingCycle ( _TABLE_PATTERN , query , _KEY_PARAMETER , self . _tablesMap , False ) group = re . match ( _QUERY_PATTERN , query , re . I ) if group is None or group . group ( ) != query : misc . raiseSyntaxError ( 1 , query , __file__ ) queryStatement = None for table in self . _tablesMap . values ( ) : queryStatement = QueryStatement . createWithTable ( table ) queryPredicates = [ ] for predicate in self . _predicatesMap . values ( ) : queryPredicate = QueryPredicate . createFromPredicate ( predicate ) queryPredicates . append ( queryPredicate ) queryBlocks . append ( QueryBlock ( queryStatement , queryPredicates ) ) return queryBlocks
short_docstring: Parses query string that contain multiple queries into QueryBlock
  instances and returns associated list.
short_docstring_tokens: Parses query string that contain multiple queries into QueryBlock instances and returns associated list .
comment: """
              Parses query string that contain multiple queries into QueryBlock
              instances and returns associated list.
              Assuming that structure of a query has to be:
  
                  SELECT FROM ${table_name} WHERE @param = 1 [AND @param = 2...]
  
              method uses regular expressions to identify parts of the query and
              check for correct syntax. If syntax is wrong SyntaxError is raised.
  
              Multiple queries can be passed as one single string. In this case
              they have to be separated by ";" (as delimeter). Quite similar to
              SQL in this way.
  
              Args:
                  queryset (str): query string (one or more queries)
  
              Returns:
                  list<QueryBlock>: list of QueryBlock instances that
                                      represent each query
          """$SEP$# initialise list of query blocks$SEP$# build list of queries$SEP$# if query is empty, skip it$SEP$# reset maps$SEP$# replace predicates$SEP$# replace tables$SEP$# check syntax$SEP$# start creating query block$SEP$# add query block to the global list