code: def _Operations(self, rule, line):
      
      # First process the Record operators.
      if rule.record_op == 'Record':
        self._AppendRecord()
  
      elif rule.record_op == 'Clear':
        # Clear record.
        self._ClearRecord()
  
      elif rule.record_op == 'Clearall':
        # Clear all record entries.
        self._ClearAllRecord()
  
      # Lastly process line operators.
      if rule.line_op == 'Error':
        if rule.new_state:
          raise TextFSMError('Error: %s. Rule Line: %s. Input Line: %s.'
                             % (rule.new_state, rule.line_num, line))
  
        raise TextFSMError('State Error raised. Rule Line: %s. Input Line: %s'
                           % (rule.line_num, line))
  
      elif rule.line_op == 'Continue':
        # Continue with current line without returning to the start of the state.
        return False
  
      # Back to start of current state with a new line.
      return True
docs: Operators on the data record.
  
      Operators come in two parts and are a '.' separated pair:
  
        Operators that effect the input line or the current state (line_op).
          'Next'      Get next input line and restart parsing (default).
          'Continue'  Keep current input line and continue resume parsing.
          'Error'     Unrecoverable input discard result and raise Error.
  
        Operators that affect the record being built for output (record_op).
          'NoRecord'  Does nothing (default)
          'Record'    Adds the current record to the result.
          'Clear'     Clears non-Filldown data from the record.
          'Clearall'  Clears all data from the record.
  
      Args:
        rule: FSMRule object.
        line: A string, the current input line.
  
      Returns:
        True if state machine should restart state with new line.
  
      Raises:
        TextFSMError: If Error state is encountered.