clang API Documentation
#include <Expr.h>
Public Member Functions | |
ImaginaryLiteral (Expr *val, QualType Ty) | |
ImaginaryLiteral (EmptyShell Empty) | |
Build an empty imaginary literal. | |
const Expr * | getSubExpr () const |
Expr * | getSubExpr () |
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) |
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.
clang::ImaginaryLiteral::ImaginaryLiteral | ( | Expr * | val, |
QualType | Ty | ||
) | [inline] |
clang::ImaginaryLiteral::ImaginaryLiteral | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::ImaginaryLiteral::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
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().
SourceLocation clang::ImaginaryLiteral::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 1438 of file Expr.h.
References clang::Stmt::getLocEnd().
SourceLocation clang::ImaginaryLiteral::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 1437 of file Expr.h.
References clang::Stmt::getLocStart().
const Expr* clang::ImaginaryLiteral::getSubExpr | ( | ) | const [inline] |
Expr* clang::ImaginaryLiteral::getSubExpr | ( | ) | [inline] |
void clang::ImaginaryLiteral::setSubExpr | ( | Expr * | E | ) | [inline] |