struct ObjCDictionaryElement

Declaration

struct ObjCDictionaryElement { /* full declaration omitted */ };

Description

An element in an Objective-C dictionary literal.

Declared at: clang/include/clang/AST/ExprObjC.h:263

Member Variables

public clang::Expr* Key
The key for the dictionary element.
public clang::Expr* Value
The value of the dictionary element.
public clang::SourceLocation EllipsisLoc
The location of the ellipsis, if this is a pack expansion.
public Optional<unsigned int> NumExpansions
The number of elements this pack expansion will expand to, if this is a pack expansion and is known.

Method Overview

Methods

ΒΆbool isPackExpansion() const

Description

Determines whether this dictionary element is a pack expansion.

Declared at: clang/include/clang/AST/ExprObjC.h:278