def _parse_log_statement(options):
 for i in options:
  if _is_reference(i):
   _add_reference(i, _current_statement)
  elif _is_junction(i):
   _add_junction(i)
  elif _is_inline_definition(i):
   _add_inline_definition(i, _current_statement)

def _parse_log_statement ( options ) : for i in options : if _is_reference ( i ) : _add_reference ( i , _current_statement ) elif _is_junction ( i ) : _add_junction ( i ) elif _is_inline_definition ( i ) : _add_inline_definition ( i , _current_statement )
parses a log path .