top | up | prev | next

ParsingContext Struct

Definition at line 11 of ParsingContext.hpp

Constructors

ParsingContext()

Member Functions

void BeginParsingArguments()
void BeginParsingConcept()
void BeginParsingTemplateId()
void BeginParsingTypeExpr()
void EndParsingArguments()
void EndParsingConcept()
void EndParsingTemplateId()
void EndParsingTypeExpr()
void PopParsingExpressionStatement()
void PopParsingIsOrAs()
void PopParsingLvalue()
void PushParsingExpressionStatement(bool enable)
void PushParsingIsOrAs(bool enable)
void PushParsingLvalue(bool enable)

Member Variables

bool parsingArguments
std::stack<bool> parsingArgumentsStack
bool parsingConcept
std::stack<bool> parsingConceptStack
bool parsingExpressionStatement
std::stack<bool> parsingExpressionStatementStack
bool parsingIsOrAs
std::stack<bool> parsingIsOrAsStack
bool parsingLvalue
std::stack<bool> parsingLvalueStack
bool parsingTemplateId
std::stack<bool> parsingTemplateIdStack
bool parsingTypeExpr
std::stack<bool> parsingTypeExprStack

Constructor Details

ParsingContext Constructor

ParsingContext::ParsingContext()

Definition at line 8 of ParsingContext.cpp :
 8 :
 9 parsingExpressionStatement(false)parsingLvalue(false)parsingArguments(false)parsingIsOrAs(false)parsingTypeExpr(false)parsingConcept(false)parsingTemplateId(false)
10 {
11 }


Declaration at line 13 of ParsingContext.hpp


Member Function Details

BeginParsingArguments Member Function

void ParsingContext::BeginParsingArguments()

Definition at line 37 of ParsingContext.cpp :
38 {
39     parsingArgumentsStack.push(parsingArguments);
40     parsingArguments = true;
41 }


Declaration at line 18 of ParsingContext.hpp

Called by: ExpressionParser::ExpressionList , ExpressionParser::Shift


BeginParsingConcept Member Function

void ParsingContext::BeginParsingConcept()

Definition at line 73 of ParsingContext.cpp :
74 {
75     parsingConceptStack.push(parsingConcept);
76     parsingConcept = true;
77 }


Declaration at line 24 of ParsingContext.hpp

Called by: ConceptParser::Concept


BeginParsingTemplateId Member Function

void ParsingContext::BeginParsingTemplateId()

Definition at line 85 of ParsingContext.cpp :
86 {
87     parsingTemplateIdStack.push(parsingTemplateId);
88     parsingTemplateId = true;
89 }


Declaration at line 26 of ParsingContext.hpp

Called by: TemplateParser::TemplateId


BeginParsingTypeExpr Member Function

void ParsingContext::BeginParsingTypeExpr()

Definition at line 61 of ParsingContext.cpp :
62 {
63     parsingTypeExprStack.push(parsingTypeExpr);
64     parsingTypeExpr = true;
65 }


Declaration at line 22 of ParsingContext.hpp

Called by: ClassParser::InheritanceAndInterfaces


EndParsingArguments Member Function

void ParsingContext::EndParsingArguments()

Definition at line 43 of ParsingContext.cpp :
44 {
45     parsingArguments = parsingArgumentsStack.top();
46     parsingArgumentsStack.pop();
47 }


Declaration at line 19 of ParsingContext.hpp

Called by: ExpressionParser::ExpressionList , ExpressionParser::Shift


EndParsingConcept Member Function

void ParsingContext::EndParsingConcept()

Definition at line 79 of ParsingContext.cpp :
80 {
81     parsingConcept = parsingConceptStack.top();
82     parsingConceptStack.pop();
83 }


Declaration at line 25 of ParsingContext.hpp

Called by: ConceptParser::Concept


EndParsingTemplateId Member Function

void ParsingContext::EndParsingTemplateId()

Definition at line 91 of ParsingContext.cpp :
92 {
93     parsingTemplateId = parsingTemplateIdStack.top();
94     parsingTemplateIdStack.pop();
95 }


Declaration at line 27 of ParsingContext.hpp

Called by: TemplateParser::TemplateId


EndParsingTypeExpr Member Function

void ParsingContext::EndParsingTypeExpr()

Definition at line 67 of ParsingContext.cpp :
68 {
69     parsingTypeExpr = parsingTypeExprStack.top();
70     parsingTypeExprStack.pop();
71 }


Declaration at line 23 of ParsingContext.hpp

Called by: ClassParser::InheritanceAndInterfaces


PopParsingExpressionStatement Member Function

void ParsingContext::PopParsingExpressionStatement()

Definition at line 19 of ParsingContext.cpp :
20 {
21     parsingExpressionStatement = parsingExpressionStatementStack.top();
22     parsingExpressionStatementStack.pop();
23 }


Declaration at line 15 of ParsingContext.hpp

Called by: ExpressionParser::Postfix , StatementParser::ExpressionStatement


PopParsingIsOrAs Member Function

void ParsingContext::PopParsingIsOrAs()

Definition at line 55 of ParsingContext.cpp :
56 {
57     parsingIsOrAs = parsingIsOrAsStack.top();
58     parsingIsOrAsStack.pop();
59 }


Declaration at line 21 of ParsingContext.hpp

Called by: ExpressionParser::Relational


PopParsingLvalue Member Function

void ParsingContext::PopParsingLvalue()

Definition at line 31 of ParsingContext.cpp :
32 {
33     parsingLvalue = parsingLvalueStack.top();
34     parsingLvalueStack.pop();
35 }


Declaration at line 17 of ParsingContext.hpp

Called by: ExpressionParser::Postfix , StatementParser::AssignmentStatementExpr


PushParsingExpressionStatement Member Function

void ParsingContext::PushParsingExpressionStatement(bool enable)

Definition at line 13 of ParsingContext.cpp :
14 {
15     parsingExpressionStatementStack.push(parsingExpressionStatement);
16     parsingExpressionStatement = enable;
17 }


Declaration at line 14 of ParsingContext.hpp

Called by: ExpressionParser::Postfix , StatementParser::ExpressionStatement


PushParsingIsOrAs Member Function

void ParsingContext::PushParsingIsOrAs(bool enable)

Definition at line 49 of ParsingContext.cpp :
50 {
51     parsingIsOrAsStack.push(parsingIsOrAs);
52     parsingIsOrAs = enable;
53 }


Declaration at line 20 of ParsingContext.hpp

Called by: ExpressionParser::Relational


PushParsingLvalue Member Function

void ParsingContext::PushParsingLvalue(bool enable)

Definition at line 25 of ParsingContext.cpp :
26 {
27     parsingLvalueStack.push(parsingLvalue);
28     parsingLvalue = enable;
29 }


Declaration at line 16 of ParsingContext.hpp

Called by: ExpressionParser::Postfix , StatementParser::AssignmentStatementExpr


top | up | prev | next