class AbstractConditionalOperator

Declaration

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

Description

AbstractConditionalOperator - An abstract base class for ConditionalOperator and BinaryConditionalOperator.

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

Inherits from: Expr

Member Variables

private clang::SourceLocation QuestionLoc
private clang::SourceLocation ColonLoc

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

AbstractConditionalOperator(
    clang::Stmt::StmtClass SC,
    clang::QualType T,
    clang::ExprValueKind VK,
    clang::ExprObjectKind OK,
    clang::SourceLocation qloc,
    clang::SourceLocation cloc)

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

Parameters

clang::Stmt::StmtClass SC
clang::QualType T
clang::ExprValueKind VK
clang::ExprObjectKind OK
clang::SourceLocation qloc
clang::SourceLocation cloc

AbstractConditionalOperator(
    clang::Stmt::StmtClass SC,
    clang::Stmt::EmptyShell Empty)

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

Parameters

clang::Stmt::StmtClass SC
clang::Stmt::EmptyShell Empty

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

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

Parameters

const clang::Stmt* T

clang::SourceLocation getColonLoc() const

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

clang::Expr* getCond() const

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

clang::Expr* getFalseExpr() const

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

clang::SourceLocation getQuestionLoc() const

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

clang::Expr* getTrueExpr() const

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