Property definitions

postgresql $ ConnStatusType :: defaultinit
extern class ConnStatusType `{int`}
  new connection_ok `{ return CONNECTION_OK; `}
  new connection_bad `{ return CONNECTION_BAD; `}

  fun is_ok: Bool `{return self == CONNECTION_OK; `}
end
lib/postgresql/native_postgres.nit:45,1--50,3