clang API Documentation

Public Member Functions | Public Attributes
clang::ObjCDictionaryElement Struct Reference

An element in an Objective-C dictionary literal. More...

#include <ExprObjC.h>

Collaboration diagram for clang::ObjCDictionaryElement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isPackExpansion () const
 Determines whether this dictionary element is a pack expansion.

Public Attributes

ExprKey
 The key for the dictionary element.
ExprValue
 The value of the dictionary element.
SourceLocation EllipsisLoc
 The location of the ellipsis, if this is a pack expansion.
Optional< unsignedNumExpansions
 The number of elements this pack expansion will expand to, if this is a pack expansion and is known.

Detailed Description

An element in an Objective-C dictionary literal.

Definition at line 198 of file ExprObjC.h.


Member Function Documentation

Determines whether this dictionary element is a pack expansion.

Definition at line 213 of file ExprObjC.h.

References EllipsisLoc, and clang::SourceLocation::isValid().


Member Data Documentation

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().


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