clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::Parser::ConditionDeclarationOrInitStatementState Struct Reference

Public Member Functions

 ConditionDeclarationOrInitStatementState (Parser &P, bool CanBeInitStatement, bool CanBeForRangeDecl)
 
bool resolved ()
 
void markNotExpression ()
 
bool markNotCondition ()
 
bool markNotForRangeDecl ()
 
bool update (TPResult IsDecl)
 
ConditionOrInitStatement result () const
 

Public Attributes

ParserP
 
bool CanBeExpression = true
 
bool CanBeCondition = true
 
bool CanBeInitStatement
 
bool CanBeForRangeDecl
 

Detailed Description

Definition at line 384 of file ParseTentative.cpp.

Constructor & Destructor Documentation

◆ ConditionDeclarationOrInitStatementState()

clang::Parser::ConditionDeclarationOrInitStatementState::ConditionDeclarationOrInitStatementState ( Parser P,
bool  CanBeInitStatement,
bool  CanBeForRangeDecl 
)
inline

Definition at line 391 of file ParseTentative.cpp.

Member Function Documentation

◆ markNotCondition()

bool clang::Parser::ConditionDeclarationOrInitStatementState::markNotCondition ( )
inline

◆ markNotExpression()

void clang::Parser::ConditionDeclarationOrInitStatementState::markNotExpression ( )
inline

◆ markNotForRangeDecl()

bool clang::Parser::ConditionDeclarationOrInitStatementState::markNotForRangeDecl ( )
inline

◆ resolved()

bool clang::Parser::ConditionDeclarationOrInitStatementState::resolved ( )
inline

◆ result()

ConditionOrInitStatement clang::Parser::ConditionDeclarationOrInitStatementState::result ( ) const
inline

◆ update()

bool clang::Parser::ConditionDeclarationOrInitStatementState::update ( TPResult  IsDecl)
inline

Member Data Documentation

◆ CanBeCondition

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeCondition = true

◆ CanBeExpression

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeExpression = true

◆ CanBeForRangeDecl

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl

◆ CanBeInitStatement

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement

◆ P

Parser& clang::Parser::ConditionDeclarationOrInitStatementState::P

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