class ObjCSubscriptRefExpr

Declaration

class ObjCSubscriptRefExpr : public Expr { /* full declaration omitted */ };

Description

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

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

Inherits from: Expr

Member Variables

private clang::SourceLocation RBracket
private clang::Stmt* [2] SubExprs
private clang::ObjCMethodDecl* GetAtIndexMethodDecl
private clang::ObjCMethodDecl* SetAtIndexMethodDecl

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

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

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

Parameters

clang::Expr* base
clang::Expr* key
clang::QualType T
clang::ExprValueKind VK
clang::ExprObjectKind OK
clang::ObjCMethodDecl* getMethod
clang::ObjCMethodDecl* setMethod
clang::SourceLocation RB

ObjCSubscriptRefExpr(
    clang::Stmt::EmptyShell Empty)

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

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

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

clang::Stmt::const_child_range children() const

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

static bool classof(const clang::Stmt* T)

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

Parameters

const clang::Stmt* T

clang::ObjCMethodDecl* getAtIndexMethodDecl()
    const

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

clang::Expr* getBaseExpr() const

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

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::Expr* getKeyExpr() const

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

clang::SourceLocation getRBracket() const

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

bool isArraySubscriptRefExpr() const

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

clang::ObjCMethodDecl* setAtIndexMethodDecl()
    const

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

void setBaseExpr(clang::Stmt* S)

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

Parameters

clang::Stmt* S

void setKeyExpr(clang::Stmt* S)

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

Parameters

clang::Stmt* S

void setRBracket(clang::SourceLocation RB)

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

Parameters

clang::SourceLocation RB