clang API Documentation

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

#include <Expr.h>

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

List of all members.

Public Member Functions

 ImaginaryLiteral (Expr *val, QualType Ty)
 ImaginaryLiteral (EmptyShell Empty)
 Build an empty imaginary literal.
const ExprgetSubExpr () const
ExprgetSubExpr ()
void setSubExpr (Expr *E)
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Detailed Description

ImaginaryLiteral - We support imaginary integer and floating point literals, like "1.0i". We represent these as a wrapper around FloatingLiteral and IntegerLiteral classes. Instances of this class always have a Complex type whose element type matches the subexpression.

Definition at line 1421 of file Expr.h.


Constructor & Destructor Documentation

Definition at line 1424 of file Expr.h.

Build an empty imaginary literal.

Definition at line 1430 of file Expr.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1445 of file Expr.h.

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

Reimplemented from clang::Expr.

Definition at line 1440 of file Expr.h.

References clang::Stmt::getStmtClass().

Reimplemented from clang::Stmt.

Definition at line 1438 of file Expr.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 1437 of file Expr.h.

References clang::Stmt::getLocStart().

const Expr* clang::ImaginaryLiteral::getSubExpr ( ) const [inline]

Definition at line 1433 of file Expr.h.

Definition at line 1434 of file Expr.h.

void clang::ImaginaryLiteral::setSubExpr ( Expr E) [inline]

Definition at line 1435 of file Expr.h.


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