parameters: (field, last_field)
return_statement: return (offset + pad, 0)
docstring: Returns a 2-tuple of the field offset and bit (for BOOLs).
docstring_summary: Returns a 2-tuple of the field offset and bit (for BOOLs).
docstring_tokens: Returns a 2 - tuple of the field offset and bit ( for BOOLs ) .
function: def GetFieldOffset(field, last_field):
    """Returns a 2-tuple of the field offset and bit (for BOOLs)."""
    if (field.field.kind == mojom.BOOL and
        last_field.field.kind == mojom.BOOL and
        last_field.bit < 7):
      return (last_field.offset, last_field.bit + 1)
  
    offset = last_field.offset + last_field.size
    pad = GetPad(offset, field.alignment)
    return (offset + pad, 0)
function_tokens: def GetFieldOffset ( field , last_field ) : if ( field . field . kind == mojom . BOOL and last_field . field . kind == mojom . BOOL and last_field . bit < 7 ) : return ( last_field . offset , last_field . bit + 1 ) offset = last_field . offset + last_field . size pad = GetPad ( offset , field . alignment ) return ( offset + pad , 0 )