clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ObjCSelectorExpr Class Reference

ObjCSelectorExpr used for in Objective-C. More...

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCSelectorExpr (QualType T, Selector selInfo, SourceLocation at, SourceLocation rp)
 ObjCSelectorExpr (EmptyShell Empty)
Selector getSelector () const
void setSelector (Selector S)
SourceLocation getAtLoc () const
SourceLocation getRParenLoc () const
void setAtLoc (SourceLocation L)
void setRParenLoc (SourceLocation L)
SourceRange getSourceRange () const LLVM_READONLY
unsigned getNumArgs () const
 getNumArgs - Return the number of actual arguments to this call.
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)
static bool classof (const ObjCSelectorExpr *)

Detailed Description

ObjCSelectorExpr used for in Objective-C.

Definition at line 382 of file ExprObjC.h.


Constructor & Destructor Documentation

clang::ObjCSelectorExpr::ObjCSelectorExpr ( QualType  T,
Selector  selInfo,
SourceLocation  at,
SourceLocation  rp 
) [inline]

Definition at line 386 of file ExprObjC.h.

clang::ObjCSelectorExpr::ObjCSelectorExpr ( EmptyShell  Empty) [inline, explicit]

Definition at line 391 of file ExprObjC.h.


Member Function Documentation

child_range clang::ObjCSelectorExpr::children ( ) [inline]

Reimplemented from clang::Stmt.

Definition at line 415 of file ExprObjC.h.

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

Reimplemented from clang::Expr.

Definition at line 409 of file ExprObjC.h.

References clang::Stmt::getStmtClass().

static bool clang::ObjCSelectorExpr::classof ( const ObjCSelectorExpr ) [inline, static]

Definition at line 412 of file ExprObjC.h.

SourceLocation clang::ObjCSelectorExpr::getAtLoc ( ) const [inline]

Definition at line 397 of file ExprObjC.h.

unsigned clang::ObjCSelectorExpr::getNumArgs ( ) const [inline]

getNumArgs - Return the number of actual arguments to this call.

Definition at line 407 of file ExprObjC.h.

SourceLocation clang::ObjCSelectorExpr::getRParenLoc ( ) const [inline]

Definition at line 398 of file ExprObjC.h.

Selector clang::ObjCSelectorExpr::getSelector ( ) const [inline]
SourceRange clang::ObjCSelectorExpr::getSourceRange ( ) const [inline]

SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.

Reimplemented from clang::Stmt.

Definition at line 402 of file ExprObjC.h.

void clang::ObjCSelectorExpr::setAtLoc ( SourceLocation  L) [inline]

Definition at line 399 of file ExprObjC.h.

void clang::ObjCSelectorExpr::setRParenLoc ( SourceLocation  L) [inline]

Definition at line 400 of file ExprObjC.h.

void clang::ObjCSelectorExpr::setSelector ( Selector  S) [inline]

Definition at line 395 of file ExprObjC.h.

References S.


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