clang API Documentation
An element in an Objective-C dictionary literal. More...
#include <ExprObjC.h>

Public Member Functions | |
| bool | isPackExpansion () const |
| Determines whether this dictionary element is a pack expansion. | |
Public Attributes | |
| Expr * | Key |
| The key for the dictionary element. | |
| Expr * | Value |
| The value of the dictionary element. | |
| SourceLocation | EllipsisLoc |
| The location of the ellipsis, if this is a pack expansion. | |
| Optional< unsigned > | NumExpansions |
| The number of elements this pack expansion will expand to, if this is a pack expansion and is known. | |
An element in an Objective-C dictionary literal.
Definition at line 198 of file ExprObjC.h.
| bool clang::ObjCDictionaryElement::isPackExpansion | ( | ) | const [inline] |
Determines whether this dictionary element is a pack expansion.
Definition at line 213 of file ExprObjC.h.
References EllipsisLoc, and clang::SourceLocation::isValid().
The location of the ellipsis, if this is a pack expansion.
Definition at line 206 of file ExprObjC.h.
Referenced by clang::ObjCDictionaryLiteral::getKeyValueElement(), and isPackExpansion().
The key for the dictionary element.
Definition at line 200 of file ExprObjC.h.
Referenced by clang::Sema::BuildObjCDictionaryLiteral(), and 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 210 of file ExprObjC.h.
Referenced by clang::ObjCDictionaryLiteral::getKeyValueElement().
The value of the dictionary element.
Definition at line 203 of file ExprObjC.h.
Referenced by clang::Sema::BuildObjCDictionaryLiteral(), and clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral().