clang-tools 23.0.0git
clang::doc::CommentInfo Struct Reference

#include <Representation.h>

Inheritance diagram for clang::doc::CommentInfo:
[legend]

Public Member Functions

 CommentInfo ()=default
 CommentInfo (const CommentInfo &Other)=default
CommentInfooperator= (const CommentInfo &Other)=default
 CommentInfo (CommentInfo &&Other)=default
CommentInfooperator= (CommentInfo &&Other)=default
 CommentInfo (CommentKind Kind, llvm::ArrayRef< CommentInfo > Children={}, StringRef Text=StringRef(), StringRef Name=StringRef(), StringRef CloseName=StringRef(), StringRef Direction=StringRef(), StringRef ParamName=StringRef(), bool Explicit=false, bool SelfClosing=false, llvm::ArrayRef< StringRef > AttrKeys={}, llvm::ArrayRef< StringRef > AttrValues={})
bool operator== (const CommentInfo &Other) const
bool operator< (const CommentInfo &Other) const

Public Attributes

llvm::ArrayRef< CommentInfoChildren
StringRef Direction
StringRef Name
StringRef ParamName
StringRef CloseName
StringRef Text
llvm::ArrayRef< StringRef > AttrKeys
llvm::ArrayRef< StringRef > AttrValues
llvm::ArrayRef< StringRef > Args
CommentKind Kind
bool SelfClosing = false
bool Explicit = false

Detailed Description

Definition at line 168 of file Representation.h.

Constructor & Destructor Documentation

◆ CommentInfo() [1/4]

clang::doc::CommentInfo::CommentInfo ( )
default

◆ CommentInfo() [2/4]

clang::doc::CommentInfo::CommentInfo ( const CommentInfo & Other)
default

References CommentInfo().

◆ CommentInfo() [3/4]

clang::doc::CommentInfo::CommentInfo ( CommentInfo && Other)
default

References CommentInfo().

◆ CommentInfo() [4/4]

clang::doc::CommentInfo::CommentInfo ( CommentKind Kind,
llvm::ArrayRef< CommentInfo > Children = {},
StringRef Text = StringRef(),
StringRef Name = StringRef(),
StringRef CloseName = StringRef(),
StringRef Direction = StringRef(),
StringRef ParamName = StringRef(),
bool Explicit = false,
bool SelfClosing = false,
llvm::ArrayRef< StringRef > AttrKeys = {},
llvm::ArrayRef< StringRef > AttrValues = {} )
inline

Definition at line 175 of file Representation.h.

References Children, and Kind.

Member Function Documentation

◆ operator<()

bool clang::doc::CommentInfo::operator< ( const CommentInfo & Other) const

◆ operator=() [1/2]

CommentInfo & clang::doc::CommentInfo::operator= ( CommentInfo && Other)
default

References CommentInfo().

◆ operator=() [2/2]

CommentInfo & clang::doc::CommentInfo::operator= ( const CommentInfo & Other)
default

References CommentInfo().

◆ operator==()

bool clang::doc::CommentInfo::operator== ( const CommentInfo & Other) const

Member Data Documentation

◆ Args

◆ AttrKeys

◆ AttrValues

◆ Children

◆ CloseName

◆ Direction

◆ Explicit

◆ Kind

◆ Name

◆ ParamName

◆ SelfClosing

◆ Text


The documentation for this struct was generated from the following files: