clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::CharacterLiteral Class Reference

#include <Expr.h>

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

List of all members.

Public Types

enum  CharacterKind { Ascii, Wide, UTF16, UTF32 }

Public Member Functions

 CharacterLiteral (unsigned value, CharacterKind kind, QualType type, SourceLocation l)
 CharacterLiteral (EmptyShell Empty)
 Construct an empty character literal.
SourceLocation getLocation () const
CharacterKind getKind () const
SourceLocation getLocStart () const LLVM_READONLY
SourceLocation getLocEnd () const LLVM_READONLY
unsigned getValue () const
void setLocation (SourceLocation Location)
void setKind (CharacterKind kind)
void setValue (unsigned Val)
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)

Detailed Description

Definition at line 1307 of file Expr.h.


Member Enumeration Documentation

Enumerator:
Ascii 
Wide 
UTF16 
UTF32 

Definition at line 1309 of file Expr.h.


Constructor & Destructor Documentation

Definition at line 1321 of file Expr.h.

References clang::Stmt::CharacterLiteralBits.

Construct an empty character literal.

Definition at line 1330 of file Expr.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 1351 of file Expr.h.

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

Reimplemented from clang::Expr.

Definition at line 1346 of file Expr.h.

References clang::Stmt::getStmtClass().

Definition at line 1332 of file Expr.h.

Referenced by clang::ASTNodeImporter::VisitCharacterLiteral().

Reimplemented from clang::Stmt.

Definition at line 1338 of file Expr.h.

Reimplemented from clang::Stmt.

Definition at line 1337 of file Expr.h.

Definition at line 1343 of file Expr.h.

References clang::Stmt::CharacterLiteralBits.

Definition at line 1342 of file Expr.h.

Definition at line 1344 of file Expr.h.


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