clang API Documentation

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

#include <ExprObjC.h>

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

List of all members.

Public Member Functions

 ObjCProtocolExpr (QualType T, ObjCProtocolDecl *protocol, SourceLocation at, SourceLocation protoLoc, SourceLocation rp)
 ObjCProtocolExpr (EmptyShell Empty)
ObjCProtocolDeclgetProtocol () const
void setProtocol (ObjCProtocolDecl *P)
SourceLocation getProtocolIdLoc () const
SourceLocation getAtLoc () const
SourceLocation getRParenLoc () const
void setAtLoc (SourceLocation L)
void setRParenLoc (SourceLocation L)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Friends

class ASTStmtReader
class ASTStmtWriter

Detailed Description

ObjCProtocolExpr used for protocol expression in Objective-C.

This is used as: @protocol(foo), as in:

   [obj conformsToProtocol:@protocol(foo)]

The return type is "Protocol*".

Definition at line 429 of file ExprObjC.h.


Constructor & Destructor Documentation

Definition at line 433 of file ExprObjC.h.

Definition at line 438 of file ExprObjC.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 458 of file ExprObjC.h.

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

Reimplemented from clang::Expr.

Definition at line 453 of file ExprObjC.h.

References clang::Stmt::getStmtClass().

Definition at line 445 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 451 of file ExprObjC.h.

Reimplemented from clang::Stmt.

Definition at line 450 of file ExprObjC.h.

Definition at line 441 of file ExprObjC.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitObjCProtocolExpr().

Definition at line 444 of file ExprObjC.h.

Definition at line 446 of file ExprObjC.h.

Definition at line 447 of file ExprObjC.h.

Definition at line 442 of file ExprObjC.h.

References P.

Definition at line 448 of file ExprObjC.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 460 of file ExprObjC.h.

friend class ASTStmtWriter [friend]

Reimplemented from clang::Stmt.

Definition at line 461 of file ExprObjC.h.


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