clang  8.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::Parser::ConditionDeclarationOrInitStatementState Struct Reference
Collaboration diagram for clang::Parser::ConditionDeclarationOrInitStatementState:
Collaboration graph
[legend]

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 343 of file ParseTentative.cpp.

Constructor & Destructor Documentation

◆ ConditionDeclarationOrInitStatementState()

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

Definition at line 350 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

Definition at line 355 of file ParseTentative.cpp.

◆ 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

Definition at line 345 of file ParseTentative.cpp.

◆ CanBeForRangeDecl

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeForRangeDecl

◆ CanBeInitStatement

bool clang::Parser::ConditionDeclarationOrInitStatementState::CanBeInitStatement

◆ P

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

Definition at line 344 of file ParseTentative.cpp.


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