code: def get_transition(self,  # suppress(too-many-arguments)
                         line,
                         line_index,
                         column,
                         is_escaped,
                         comment_system_transitions,
                         eof=False):
          
          parser_transition = {
              STATE_IN_COMMENT: InCommentParser,
              STATE_IN_QUOTE: InQuoteParser
          }
  
          (state,
           start_state_from,
           waiting_until) = comment_system_transitions.from_text(line,
                                                                 line_index,
                                                                 column,
                                                                 is_escaped)
  
          # We need to move ahead by a certain number of characters
          # if we hit a new state
          if state != STATE_IN_TEXT:
              return (parser_transition[state](start_state_from,
                                               waiting_until),
                      start_state_from[1] - column,
                      None)
          else:
              return (self, 1, None)
docs: Get transition from InTextParser.