Lines Matching refs:Object
39 void serializeObject(Object &Paren, StringRef Key,
40 std::optional<Object> &&Obj) {
47 void serializeArray(Object &Paren, StringRef Key,
56 void serializeArray(Object &Paren, StringRef Key, ContainerTy &&C) {
74 /// \returns \c std::nullopt if the version \p V is empty, or an \c Object
76 std::optional<Object> serializeSemanticVersion(const VersionTuple &V) {
80 Object Version;
91 Object serializeOperatingSystem(const Triple &T) {
92 Object OS;
103 Object serializePlatform(const Triple &T) {
104 Object Platform;
112 Object serializeSourcePosition(const PresumedLoc &Loc) {
115 Object SourcePosition;
127 Object serializeSourceLocation(const PresumedLoc &Loc,
129 Object SourceLocation;
143 Object serializeSourceRange(const PresumedLoc &BeginLoc,
145 Object SourceRange;
169 Object UnconditionallyDeprecated;
174 Object Availability;
228 Object serializeIdentifier(const APIRecord &Record, Language Lang) {
229 Object Identifier;
250 /// \returns \c std::nullopt if \p Comment is empty, or an \c Object containing
252 std::optional<Object> serializeDocComment(const DocComment &Comment) {
256 Object DocComment;
260 Object Line;
313 Object Fragment;
333 Object serializeNames(const APIRecord *Record) {
334 Object Names;
349 Object serializeSymbolKind(APIRecord::RecordKind RK, Language Lang) {
354 Object Kind;
515 Object serializeSymbolKind(const APIRecord &Record, Language Lang) {
527 void serializeFunctionSignatureMixin(Object &Paren, const RecordTy &Record) {
532 Object Signature;
538 Object Parameter;
552 void serializeTemplateMixin(Object &Paren, const RecordTy &Record) {
557 Object Generics;
560 Object Parameter;
571 Object Constraint;
589 Object Elem;
633 Object *ExtendedModule::addSymbol(Object &&Symbol) {
638 void ExtendedModule::addRelationship(Object &&Relationship) {
645 Object SymbolGraphSerializer::serializeMetadata() const {
646 Object Metadata;
653 Object
655 Object Module;
719 Object Relationship;
753 Object Obj;
1021 Object SymbolGraphSerializer::serializeGraph(StringRef ModuleName,
1023 Object Root;
1036 Object Root = serializeGraph(ModuleName, std::move(EM));
1079 std::optional<Object>
1086 Object Root;
1117 Object RelatedSymbol;