clang 17.0.0git
Public Member Functions | Public Attributes | List of all members
clang::comments::HTMLStartTagComment::Attribute Class Reference

#include "clang/AST/Comment.h"

Collaboration diagram for clang::comments::HTMLStartTagComment::Attribute:
Collaboration graph
[legend]

Public Member Functions

 Attribute ()
 
 Attribute (SourceLocation NameLocBegin, StringRef Name)
 
 Attribute (SourceLocation NameLocBegin, StringRef Name, SourceLocation EqualsLoc, SourceRange ValueRange, StringRef Value)
 
SourceLocation getNameLocEnd () const
 
SourceRange getNameRange () const
 

Public Attributes

SourceLocation NameLocBegin
 
StringRef Name
 
SourceLocation EqualsLoc
 
SourceRange ValueRange
 
StringRef Value
 

Detailed Description

Definition at line 413 of file Comment.h.

Constructor & Destructor Documentation

◆ Attribute() [1/3]

clang::comments::HTMLStartTagComment::Attribute::Attribute ( )
inline

Definition at line 423 of file Comment.h.

◆ Attribute() [2/3]

clang::comments::HTMLStartTagComment::Attribute::Attribute ( SourceLocation  NameLocBegin,
StringRef  Name 
)
inline

Definition at line 425 of file Comment.h.

◆ Attribute() [3/3]

clang::comments::HTMLStartTagComment::Attribute::Attribute ( SourceLocation  NameLocBegin,
StringRef  Name,
SourceLocation  EqualsLoc,
SourceRange  ValueRange,
StringRef  Value 
)
inline

Definition at line 428 of file Comment.h.

Member Function Documentation

◆ getNameLocEnd()

SourceLocation clang::comments::HTMLStartTagComment::Attribute::getNameLocEnd ( ) const
inline

Definition at line 433 of file Comment.h.

References clang::SourceLocation::getLocWithOffset(), Name, and NameLocBegin.

Referenced by getNameRange().

◆ getNameRange()

SourceRange clang::comments::HTMLStartTagComment::Attribute::getNameRange ( ) const
inline

Definition at line 437 of file Comment.h.

References getNameLocEnd(), and NameLocBegin.

Member Data Documentation

◆ EqualsLoc

SourceLocation clang::comments::HTMLStartTagComment::Attribute::EqualsLoc

Definition at line 418 of file Comment.h.

◆ Name

StringRef clang::comments::HTMLStartTagComment::Attribute::Name

Definition at line 416 of file Comment.h.

Referenced by getNameLocEnd().

◆ NameLocBegin

SourceLocation clang::comments::HTMLStartTagComment::Attribute::NameLocBegin

Definition at line 415 of file Comment.h.

Referenced by getNameLocEnd(), and getNameRange().

◆ Value

StringRef clang::comments::HTMLStartTagComment::Attribute::Value

Definition at line 421 of file Comment.h.

◆ ValueRange

SourceRange clang::comments::HTMLStartTagComment::Attribute::ValueRange

Definition at line 420 of file Comment.h.


The documentation for this class was generated from the following file: