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) |
| SourceRange | getSourceRange () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const ImaginaryLiteral *) |
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 | ( | 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 1305 of file Expr.h.
References clang::Stmt::getStmtClass().
| static bool clang::ImaginaryLiteral::classof | ( | const ImaginaryLiteral * | ) | [inline, static] |
| SourceRange clang::ImaginaryLiteral::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 1304 of file Expr.h.
References clang::Stmt::getSourceRange().
| const Expr* clang::ImaginaryLiteral::getSubExpr | ( | ) | const [inline] |
| void clang::ImaginaryLiteral::setSubExpr | ( | Expr * | E | ) | [inline] |