clang
15.0.0git
|
An element in an Objective-C dictionary literal. More...
#include "clang/AST/ExprObjC.h"
Public Member Functions | |
bool | isPackExpansion () const |
Determines whether this dictionary element is a pack expansion. More... | |
Public Attributes | |
Expr * | Key |
The key for the dictionary element. More... | |
Expr * | Value |
The value of the dictionary element. More... | |
SourceLocation | EllipsisLoc |
The location of the ellipsis, if this is a pack expansion. More... | |
Optional< unsigned > | NumExpansions |
The number of elements this pack expansion will expand to, if this is a pack expansion and is known. More... | |
An element in an Objective-C dictionary literal.
Definition at line 263 of file ExprObjC.h.
|
inline |
Determines whether this dictionary element is a pack expansion.
Definition at line 278 of file ExprObjC.h.
References EllipsisLoc, and clang::SourceLocation::isValid().
SourceLocation clang::ObjCDictionaryElement::EllipsisLoc |
The location of the ellipsis, if this is a pack expansion.
Definition at line 271 of file ExprObjC.h.
Referenced by isPackExpansion().
Expr* clang::ObjCDictionaryElement::Key |
The key for the dictionary element.
Definition at line 265 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral().
The number of elements this pack expansion will expand to, if this is a pack expansion and is known.
Definition at line 275 of file ExprObjC.h.
Expr* clang::ObjCDictionaryElement::Value |
The value of the dictionary element.
Definition at line 268 of file ExprObjC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral().