class ObjCArrayLiteral
Declaration
class ObjCArrayLiteral : public Expr, private TrailingObjects { /* full declaration omitted */ };
Description
ObjCArrayLiteral - used for objective-c array containers; as in: @ [ " Hello", NSApp, [NSNumber numberWithInt:42]];
Declared at: clang/include/clang/AST/ExprObjC.h:190
Inherits from: Expr, TrailingObjects
Member Variables
- private unsigned int NumElements
- private clang::SourceRange Range
- private clang::ObjCMethodDecl* ArrayWithObjectsMethod
Inherited from Stmt:
Method Overview
- public static clang::ObjCArrayLiteral * Create(const clang::ASTContext & C, ArrayRef<clang::Expr *> Elements, clang::QualType T, clang::ObjCMethodDecl * Method, clang::SourceRange SR)
- public static clang::ObjCArrayLiteral * CreateEmpty(const clang::ASTContext & C, unsigned int NumElements)
- private ObjCArrayLiteral(ArrayRef<clang::Expr *> Elements, clang::QualType T, clang::ObjCMethodDecl * Method, clang::SourceRange SR)
- private ObjCArrayLiteral(clang::Stmt::EmptyShell Empty, unsigned int NumElements)
- public clang::Stmt::child_range children()
- public clang::Stmt::const_child_range children() const
- public static bool classof(const clang::Stmt * T)
- public clang::ObjCMethodDecl * getArrayWithObjectsMethod() const
- public clang::SourceLocation getBeginLoc() const
- public clang::Expr * getElement(unsigned int Index)
- public const clang::Expr * getElement(unsigned int Index) const
- public clang::Expr ** getElements()
- public const clang::Expr *const * getElements() const
- public clang::SourceLocation getEndLoc() const
- public unsigned int getNumElements() const
- public clang::SourceRange getSourceRange() const
Inherited from Expr:
- public Classify
- public ClassifyLValue
- public ClassifyModifiable
- public EvaluateAsBooleanCondition
- public EvaluateAsConstantExpr
- public EvaluateAsFixedPoint
- public EvaluateAsFloat
- public EvaluateAsInitializer
- public EvaluateAsInt
- public EvaluateAsLValue
- public EvaluateAsRValue
- public EvaluateForOverflow
- public EvaluateKnownConstInt
- public EvaluateKnownConstIntCheckOverflow
- public EvaluateWithSubstitution
- public HasSideEffects
- public IgnoreCasts
- public IgnoreCasts
- public IgnoreConversionOperatorSingleStep
- public IgnoreConversionOperatorSingleStep
- public IgnoreImpCasts
- public IgnoreImpCasts
- public IgnoreImplicit
- public IgnoreImplicit
- public IgnoreImplicitAsWritten
- public IgnoreImplicitAsWritten
- public IgnoreParenBaseCasts
- public IgnoreParenBaseCasts
- public IgnoreParenCasts
- public IgnoreParenCasts
- public IgnoreParenImpCasts
- public IgnoreParenImpCasts
- public IgnoreParenLValueCasts
- public IgnoreParenLValueCasts
- public IgnoreParenNoopCasts
- public IgnoreParenNoopCasts
- public IgnoreParens
- public IgnoreParens
- public IgnoreUnlessSpelledInSource
- public IgnoreUnlessSpelledInSource
- public classof
- public containsErrors
- public containsUnexpandedParameterPack
- public findBoundMemberType
- public getAsBuiltinConstantDeclRef
- public getBestDynamicClassType
- public getBestDynamicClassTypeExpr
- public getDependence
- public getExprLoc
- public getFPFeaturesInEffect
- public getIntegerConstantExpr
- public getObjCProperty
- public getObjectKind
- public getReferencedDeclOfCallee
- public getReferencedDeclOfCallee
- public getSourceBitField
- public getSourceBitField
- public getType
- public getValueKind
- public getValueKindForType
- public hasAnyTypeDependentArguments
- public hasNonTrivialCall
- public hasPlaceholderType
- public hasPlaceholderType
- public isBoundMemberFunction
- public isCXX11ConstantExpr
- public isCXX98IntegralConstantExpr
- public isConstantInitializer
- public isDefaultArgument
- public isEvaluatable
- public isGLValue
- public isImplicitCXXThis
- public isInstantiationDependent
- public isIntegerConstantExpr
- public isKnownToHaveBooleanValue
- public isLValue
- public isModifiableLvalue
- public isNullPointerConstant
- public isOBJCGCCandidate
- public isObjCSelfExpr
- public isOrdinaryOrBitFieldObject
- public isPRValue
- public isPotentialConstantExpr
- public isPotentialConstantExprUnevaluated
- public isReadIfDiscardedInCPlusPlus11
- public isSameComparisonOperand
- public isTemporaryObject
- public isTypeDependent
- public isUnusedResultAWarning
- public isValueDependent
- public isXValue
- public refersToBitField
- public refersToGlobalRegisterVar
- public refersToMatrixElement
- public refersToVectorElement
- protected setDependence
- public setObjectKind
- public setType
- public setValueKind
- public skipRValueSubobjectAdjustments
- public skipRValueSubobjectAdjustments
- public tryEvaluateObjectSize
- public tryEvaluateStrLen
Inherited from ValueStmt:
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶static clang::ObjCArrayLiteral* Create(
const clang::ASTContext& C,
ArrayRef<clang::Expr*> Elements,
clang::QualType T,
clang::ObjCMethodDecl* Method,
clang::SourceRange SR)
static clang::ObjCArrayLiteral* Create(
const clang::ASTContext& C,
ArrayRef<clang::Expr*> Elements,
clang::QualType T,
clang::ObjCMethodDecl* Method,
clang::SourceRange SR)
Declared at: clang/include/clang/AST/ExprObjC.h:208
Parameters
- const clang::ASTContext& C
- ArrayRef<clang::Expr*> Elements
- clang::QualType T
- clang::ObjCMethodDecl* Method
- clang::SourceRange SR
¶static clang::ObjCArrayLiteral* CreateEmpty(
const clang::ASTContext& C,
unsigned int NumElements)
static clang::ObjCArrayLiteral* CreateEmpty(
const clang::ASTContext& C,
unsigned int NumElements)
Declared at: clang/include/clang/AST/ExprObjC.h:213
Parameters
- const clang::ASTContext& C
- unsigned int NumElements
¶ObjCArrayLiteral(ArrayRef<clang::Expr*> Elements,
clang::QualType T,
clang::ObjCMethodDecl* Method,
clang::SourceRange SR)
ObjCArrayLiteral(ArrayRef<clang::Expr*> Elements,
clang::QualType T,
clang::ObjCMethodDecl* Method,
clang::SourceRange SR)
Declared at: clang/include/clang/AST/ExprObjC.h:197
Parameters
- ArrayRef<clang::Expr*> Elements
- clang::QualType T
- clang::ObjCMethodDecl* Method
- clang::SourceRange SR
¶ObjCArrayLiteral(clang::Stmt::EmptyShell Empty,
unsigned int NumElements)
ObjCArrayLiteral(clang::Stmt::EmptyShell Empty,
unsigned int NumElements)
Declared at: clang/include/clang/AST/ExprObjC.h:201
Parameters
- clang::Stmt::EmptyShell Empty
- unsigned int NumElements
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/ExprObjC.h:246
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/ExprObjC.h:251
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/ExprObjC.h:256
Parameters
- const clang::Stmt* T
¶clang::ObjCMethodDecl* getArrayWithObjectsMethod()
const
clang::ObjCMethodDecl* getArrayWithObjectsMethod()
const
Declared at: clang/include/clang/AST/ExprObjC.h:241
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/ExprObjC.h:216
¶clang::Expr* getElement(unsigned int Index)
clang::Expr* getElement(unsigned int Index)
Description
getElement - Return the Element at the specified index.
Declared at: clang/include/clang/AST/ExprObjC.h:232
Parameters
- unsigned int Index
¶const clang::Expr* getElement(
unsigned int Index) const
const clang::Expr* getElement(
unsigned int Index) const
Declared at: clang/include/clang/AST/ExprObjC.h:236
Parameters
- unsigned int Index
¶clang::Expr** getElements()
clang::Expr** getElements()
Description
Retrieve elements of array of literals.
Declared at: clang/include/clang/AST/ExprObjC.h:221
¶const clang::Expr* const* getElements() const
const clang::Expr* const* getElements() const
Description
Retrieve elements of array of literals.
Declared at: clang/include/clang/AST/ExprObjC.h:224
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/ExprObjC.h:217
¶unsigned int getNumElements() const
unsigned int getNumElements() const
Description
getNumElements - Return number of elements of objective-c array literal.
Declared at: clang/include/clang/AST/ExprObjC.h:229
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Declared at: clang/include/clang/AST/ExprObjC.h:218