parameters: (self, input)
docstring: Makes a transition based on the given input.
  		
  		@param	input	input to parse by the FSM
docstring_summary: Makes a transition based on the given input.
docstring_tokens: Makes a transition based on the given input .
function: def makeTransition(self, input):
  		"""Makes a transition based on the given input.
  		
  		@param	input	input to parse by the FSM
  		"""
  		for transition in self.transitions:
  			[from_state, to_state, condition, callback] = transition
  			if from_state == self.current_state:
  				match = condition(input)
  				if match:
  					self.current_state = to_state
  					self.current_input = input
  					self.current_transition = transition
  					if options.debug:
  						print("# FSM: executing (%s -> %s) for line '%s'" % (from_state, to_state, input), file=sys.stderr)
  					callback(match)
  					return
function_tokens: def makeTransition ( self , input ) : for transition in self . transitions : [ from_state , to_state , condition , callback ] = transition if from_state == self . current_state : match = condition ( input ) if match : self . current_state = to_state self . current_input = input self . current_transition = transition if options . debug : print ( "# FSM: executing (%s -> %s) for line '%s'" % ( from_state , to_state , input ) , file = sys . stderr ) callback ( match ) return