class ObjCStringLiteral

Declaration

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

Description

ObjCStringLiteral, used for Objective-C string literals i.e. " foo".

Declared at: clang/include/clang/AST/ExprObjC.h:52

Inherits from: Expr

Member Variables

private clang::Stmt* String
private clang::SourceLocation AtLoc

Inherited from Stmt:

protected

Method Overview

  • public ObjCStringLiteral(clang::StringLiteral * SL, clang::QualType T, clang::SourceLocation L)
  • public ObjCStringLiteral(clang::Stmt::EmptyShell Empty)
  • public clang::Stmt::child_range children()
  • public clang::Stmt::const_child_range children() const
  • public static bool classof(const clang::Stmt * T)
  • public clang::SourceLocation getAtLoc() const
  • public clang::SourceLocation getBeginLoc() const
  • public clang::SourceLocation getEndLoc() const
  • public clang::StringLiteral * getString()
  • public const clang::StringLiteral * getString() const
  • public void setAtLoc(clang::SourceLocation L)
  • public void setString(clang::StringLiteral * S)

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ObjCStringLiteral(clang::StringLiteral* SL,
                  clang::QualType T,
                  clang::SourceLocation L)

Declared at: clang/include/clang/AST/ExprObjC.h:57

Parameters

clang::StringLiteral* SL
clang::QualType T
clang::SourceLocation L

ObjCStringLiteral(clang::Stmt::EmptyShell Empty)

Declared at: clang/include/clang/AST/ExprObjC.h:62

Parameters

clang::Stmt::EmptyShell Empty

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/ExprObjC.h:76

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/ExprObjC.h:78

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

Declared at: clang/include/clang/AST/ExprObjC.h:82

Parameters

const clang::Stmt* T

clang::SourceLocation getAtLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:69

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:72

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:73

clang::StringLiteral* getString()

Declared at: clang/include/clang/AST/ExprObjC.h:65

const clang::StringLiteral* getString() const

Declared at: clang/include/clang/AST/ExprObjC.h:66

void setAtLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/ExprObjC.h:70

Parameters

clang::SourceLocation L

void setString(clang::StringLiteral* S)

Declared at: clang/include/clang/AST/ExprObjC.h:67

Parameters

clang::StringLiteral* S