parameters: (rule, trigger_file)
return_statement: return (inputs, outputs)
docstring: Find the inputs and outputs generated by a rule.
  
    Arguments:
      rule: the rule in question.
      trigger_file: the main trigger for this rule.
    Returns:
      The pair of (inputs, outputs) involved in this rule.
docstring_summary: Find the inputs and outputs generated by a rule.
docstring_tokens: Find the inputs and outputs generated by a rule .
function: def _RuleInputsAndOutputs(rule, trigger_file):
    """Find the inputs and outputs generated by a rule.
  
    Arguments:
      rule: the rule in question.
      trigger_file: the main trigger for this rule.
    Returns:
      The pair of (inputs, outputs) involved in this rule.
    """
    raw_inputs = _FixPaths(rule.get('inputs', []))
    raw_outputs = _FixPaths(rule.get('outputs', []))
    inputs = OrderedSet()
    outputs = OrderedSet()
    inputs.add(trigger_file)
    for i in raw_inputs:
      inputs.add(_RuleExpandPath(i, trigger_file))
    for o in raw_outputs:
      outputs.add(_RuleExpandPath(o, trigger_file))
    return (inputs, outputs)
function_tokens: def _RuleInputsAndOutputs ( rule , trigger_file ) : raw_inputs = _FixPaths ( rule . get ( 'inputs' , [ ] ) ) raw_outputs = _FixPaths ( rule . get ( 'outputs' , [ ] ) ) inputs = OrderedSet ( ) outputs = OrderedSet ( ) inputs . add ( trigger_file ) for i in raw_inputs : inputs . add ( _RuleExpandPath ( i , trigger_file ) ) for o in raw_outputs : outputs . add ( _RuleExpandPath ( o , trigger_file ) ) return ( inputs , outputs )