clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::ObjCSubscriptRefExpr Class Reference

#include <ExprObjC.h>

Inheritance diagram for clang::ObjCSubscriptRefExpr:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCSubscriptRefExpr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ObjCSubscriptRefExpr (Expr *base, Expr *key, QualType T, ExprValueKind VK, ExprObjectKind OK, ObjCMethodDecl *getMethod, ObjCMethodDecl *setMethod, SourceLocation RB)
 ObjCSubscriptRefExpr (EmptyShell Empty)
SourceLocation getRBracket () const
void setRBracket (SourceLocation RB)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
ExprgetBaseExpr () const
void setBaseExpr (Stmt *S)
ExprgetKeyExpr () const
void setKeyExpr (Stmt *S)
ObjCMethodDeclgetAtIndexMethodDecl () const
ObjCMethodDeclsetAtIndexMethodDecl () const
bool isArraySubscriptRefExpr () const
child_range children ()

Static Public Member Functions

static ObjCSubscriptRefExprCreate (const ASTContext &C, Expr *base, Expr *key, QualType T, ObjCMethodDecl *getMethod, ObjCMethodDecl *setMethod, SourceLocation RB)
static bool classof (const Stmt *T)

Friends

class ASTStmtReader

Detailed Description

ObjCSubscriptRefExpr - used for array and dictionary subscripting. array[4] = array[3]; dictionary[key] = dictionary[alt_key];

Definition at line 776 of file ExprObjC.h.


Constructor & Destructor Documentation

clang::ObjCSubscriptRefExpr::ObjCSubscriptRefExpr ( Expr base,
Expr key,
QualType  T,
ExprValueKind  VK,
ExprObjectKind  OK,
ObjCMethodDecl getMethod,
ObjCMethodDecl setMethod,
SourceLocation  RB 
) [inline]

Definition at line 793 of file ExprObjC.h.

Referenced by Create().

Definition at line 808 of file ExprObjC.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 848 of file ExprObjC.h.

static bool clang::ObjCSubscriptRefExpr::classof ( const Stmt T) [inline, static]

Reimplemented from clang::Expr.

Definition at line 826 of file ExprObjC.h.

References clang::Stmt::getStmtClass().

ObjCSubscriptRefExpr * ObjCSubscriptRefExpr::Create ( const ASTContext C,
Expr base,
Expr key,
QualType  T,
ObjCMethodDecl getMethod,
ObjCMethodDecl setMethod,
SourceLocation  RB 
) [static]

Definition at line 836 of file ExprObjC.h.

Definition at line 830 of file ExprObjC.h.

Definition at line 833 of file ExprObjC.h.

Referenced by isArraySubscriptRefExpr().

Reimplemented from clang::Stmt.

Definition at line 824 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 821 of file ExprObjC.h.

References clang::Stmt::getLocStart().

Definition at line 818 of file ExprObjC.h.

Definition at line 840 of file ExprObjC.h.

Definition at line 831 of file ExprObjC.h.

References S.

Definition at line 834 of file ExprObjC.h.

References S.

Definition at line 819 of file ExprObjC.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 852 of file ExprObjC.h.


The documentation for this class was generated from the following files: