static char flip ( char c ) {
  return ( c == '0' ) ? '1' : '0' ;
}

static char flip ( char c ) { return ( c == '0' ) ? '1' : '0' ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (ternary_expression condition: (parenthesized_expression (binary_expression left: (identifier) right: (character_literal))) consequence: (character_literal) alternative: (character_literal)))))