class ImaginaryLiteral

Declaration

class ImaginaryLiteral : public Expr { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/AST/Expr.h:1718

Inherits from: Expr

Member Variables

private clang::Stmt* Val

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ImaginaryLiteral(clang::Expr* val,
                 clang::QualType Ty)

Declared at: clang/include/clang/AST/Expr.h:1721

Parameters

clang::Expr* val
clang::QualType Ty

ImaginaryLiteral(clang::Stmt::EmptyShell Empty)

Description

Build an empty imaginary literal.

Declared at: clang/include/clang/AST/Expr.h:1727

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/Expr.h:1744

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/Expr.h:1745

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/Expr.h:1739

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/Expr.h:1734

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/Expr.h:1737

const clang::Expr* getSubExpr() const

Declared at: clang/include/clang/AST/Expr.h:1730

clang::Expr* getSubExpr()

Declared at: clang/include/clang/AST/Expr.h:1731

void setSubExpr(clang::Expr* E)

Declared at: clang/include/clang/AST/Expr.h:1732

Parameters

clang::Expr* E