clang API Documentation

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

#include <Expr.h>

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

List of all members.

Public Member Functions

 ParenListExpr (ASTContext &C, SourceLocation lparenloc, Expr **exprs, unsigned numexprs, SourceLocation rparenloc)
 ParenListExpr (EmptyShell Empty)
 Build an empty paren list.
unsigned getNumExprs () const
const ExprgetExpr (unsigned Init) const
ExprgetExpr (unsigned Init)
Expr ** getExprs ()
SourceLocation getLParenLoc () const
SourceLocation getRParenLoc () const
SourceRange getSourceRange () const LLVM_READONLY
child_range children ()

Static Public Member Functions

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

Friends

class ASTStmtReader
class ASTStmtWriter

Detailed Description

Definition at line 4015 of file Expr.h.


Constructor & Destructor Documentation

ParenListExpr::ParenListExpr ( ASTContext C,
SourceLocation  lparenloc,
Expr **  exprs,
unsigned  numexprs,
SourceLocation  rparenloc 
)
clang::ParenListExpr::ParenListExpr ( EmptyShell  Empty) [inline, explicit]

Build an empty paren list.

Definition at line 4025 of file Expr.h.


Member Function Documentation

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

Reimplemented from clang::Stmt.

Definition at line 4053 of file Expr.h.

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

Reimplemented from clang::Expr.

Definition at line 4047 of file Expr.h.

References clang::Stmt::getStmtClass().

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

Definition at line 4050 of file Expr.h.

const Expr* clang::ParenListExpr::getExpr ( unsigned  Init) const [inline]
Expr* clang::ParenListExpr::getExpr ( unsigned  Init) [inline]

Definition at line 4034 of file Expr.h.

References getNumExprs().

Expr** clang::ParenListExpr::getExprs ( ) [inline]

Definition at line 4039 of file Expr.h.

Referenced by clang::Sema::AddInitializerToDecl().

SourceLocation clang::ParenListExpr::getLParenLoc ( ) const [inline]

Definition at line 4041 of file Expr.h.

Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().

unsigned clang::ParenListExpr::getNumExprs ( ) const [inline]
SourceLocation clang::ParenListExpr::getRParenLoc ( ) const [inline]

Definition at line 4042 of file Expr.h.

Referenced by clang::Sema::MaybeConvertParenListExprToParenExpr().

SourceRange clang::ParenListExpr::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 4044 of file Expr.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 4057 of file Expr.h.

friend class ASTStmtWriter [friend]

Reimplemented from clang::Stmt.

Definition at line 4058 of file Expr.h.


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