top | up | prev | next

StatementParser Struct

Definition at line 14 of Statement.hpp

Member Functions

Match AssertStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match AssignmentStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match AssignmentStatementExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match BreakStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match CaseStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match Catch(CmajorLexer& lexer, ParsingContext* ctx) static
Match CompoundStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ConditionalCompilationConjunction(CmajorLexer& lexer) static
Match ConditionalCompilationDisjunction(CmajorLexer& lexer) static
Match ConditionalCompilationExpression(CmajorLexer& lexer) static
Match ConditionalCompilationPrefix(CmajorLexer& lexer) static
Match ConditionalCompilationPrimary(CmajorLexer& lexer) static
Match ConditionalCompilationStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ConstructionStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ContinueStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ControlStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match DefaultStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match DeleteStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match DestroyStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match DoStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match EmptyStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ExpressionStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ForInitStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ForLoopStatementExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match ForStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match GotoCaseStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match GotoDefaultStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match GotoStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match IfStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match Label(CmajorLexer& lexer) static
Match LabeledStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match RangeForStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ReturnStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match Statement(CmajorLexer& lexer, ParsingContext* ctx) static
Match SwitchStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match ThrowStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match TryStatement(CmajorLexer& lexer, ParsingContext* ctx) static
Match WhileStatement(CmajorLexer& lexer, ParsingContext* ctx) static

Member Function Details

AssertStatement Member Function

Match StatementParser::AssertStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5686 of Statement.cpp
Declaration at line 47 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::Statement


AssignmentStatement Member Function

Match StatementParser::AssignmentStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4405 of Statement.cpp
Declaration at line 38 of Statement.hpp

Calls: StatementParser::AssignmentStatementExpr , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::ForInitStatement , StatementParser::Statement


AssignmentStatementExpr Member Function

Match StatementParser::AssignmentStatementExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4281 of Statement.cpp
Declaration at line 37 of Statement.hpp

Calls: ExpressionParser::Expression , ParsingContext::PopParsingLvalue , ParsingContext::PushParsingLvalue , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::AssignmentStatement , StatementParser::ForLoopStatementExpr


BreakStatement Member Function

Match StatementParser::BreakStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2896 of Statement.cpp
Declaration at line 29 of Statement.hpp

Calls: soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


CaseStatement Member Function

Match StatementParser::CaseStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3545 of Statement.cpp
Declaration at line 33 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::Statement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::SwitchStatement


Catch Member Function

Match StatementParser::Catch(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5456 of Statement.cpp
Declaration at line 46 of Statement.hpp

Calls: IdentifierParser::Identifier , StatementParser::CompoundStatement , TypeExprParser::TypeExpr , sngcm::ast::CatchNode::SetLeftParenSpan , sngcm::ast::CatchNode::SetRightParenSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::TryStatement


CompoundStatement Member Function

Match StatementParser::CompoundStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1043 of Statement.cpp
Declaration at line 20 of Statement.hpp

Calls: StatementParser::Statement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ClassParser::Constructor , ClassParser::ConversionFunction , ClassParser::Destructor , ClassParser::MemberFunction , ClassParser::StaticConstructor , FunctionParser::Function , StatementParser::Catch , StatementParser::ControlStatement , StatementParser::TryStatement


ConditionalCompilationConjunction Member Function

Match StatementParser::ConditionalCompilationConjunction(CmajorLexer & lexer) static

Definition at line 6741 of Statement.cpp
Declaration at line 51 of Statement.hpp

Calls: StatementParser::ConditionalCompilationPrefix , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: StatementParser::ConditionalCompilationDisjunction


ConditionalCompilationDisjunction Member Function

Match StatementParser::ConditionalCompilationDisjunction(CmajorLexer & lexer) static

Definition at line 6606 of Statement.cpp
Declaration at line 50 of Statement.hpp

Calls: StatementParser::ConditionalCompilationConjunction , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: StatementParser::ConditionalCompilationExpression


ConditionalCompilationExpression Member Function

Match StatementParser::ConditionalCompilationExpression(CmajorLexer & lexer) static

Definition at line 6563 of Statement.cpp
Declaration at line 49 of Statement.hpp

Calls: StatementParser::ConditionalCompilationDisjunction , soulng::lexer::Lexer::GetPos

Called by: StatementParser::ConditionalCompilationPrimary , StatementParser::ConditionalCompilationStatement


ConditionalCompilationPrefix Member Function

Match StatementParser::ConditionalCompilationPrefix(CmajorLexer & lexer) static

Definition at line 6876 of Statement.cpp
Declaration at line 52 of Statement.hpp

Calls: StatementParser::ConditionalCompilationPrefix , StatementParser::ConditionalCompilationPrimary , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ConditionalCompilationConjunction , StatementParser::ConditionalCompilationPrefix


ConditionalCompilationPrimary Member Function

Match StatementParser::ConditionalCompilationPrimary(CmajorLexer & lexer) static

Definition at line 7011 of Statement.cpp
Declaration at line 53 of Statement.hpp

Calls: StatementParser::ConditionalCompilationExpression , soulng::lexer::Lexer::GetMatch , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ConditionalCompilationPrefix


ConditionalCompilationStatement Member Function

Match StatementParser::ConditionalCompilationStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5829 of Statement.cpp
Declaration at line 48 of Statement.hpp

Calls: StatementParser::ConditionalCompilationExpression , StatementParser::Statement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::Statement


ConstructionStatement Member Function

Match StatementParser::ConstructionStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4472 of Statement.cpp
Declaration at line 39 of Statement.hpp

Calls: ExpressionParser::ArgumentList , ExpressionParser::Expression , IdentifierParser::Identifier , TypeExprParser::TypeExpr , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ForInitStatement , StatementParser::Statement


ContinueStatement Member Function

Match StatementParser::ContinueStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2989 of Statement.cpp
Declaration at line 30 of Statement.hpp

Calls: soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


ControlStatement Member Function

Match StatementParser::ControlStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 592 of Statement.cpp
Declaration at line 19 of Statement.hpp

Calls: StatementParser::BreakStatement , StatementParser::CompoundStatement , StatementParser::ContinueStatement , StatementParser::DoStatement , StatementParser::ForStatement , StatementParser::GotoCaseStatement , StatementParser::GotoDefaultStatement , StatementParser::GotoStatement , StatementParser::IfStatement , StatementParser::RangeForStatement , StatementParser::ReturnStatement , StatementParser::SwitchStatement , StatementParser::WhileStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: StatementParser::Statement


DefaultStatement Member Function

Match StatementParser::DefaultStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3878 of Statement.cpp
Declaration at line 34 of Statement.hpp

Calls: StatementParser::Statement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::SwitchStatement


DeleteStatement Member Function

Match StatementParser::DeleteStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4760 of Statement.cpp
Declaration at line 40 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::Statement


DestroyStatement Member Function

Match StatementParser::DestroyStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4883 of Statement.cpp
Declaration at line 41 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::Statement


DoStatement Member Function

Match StatementParser::DoStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1793 of Statement.cpp
Declaration at line 24 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::Statement , sngcm::ast::DoStatementNode::SetLeftParenSpan , sngcm::ast::DoStatementNode::SetRightParenSpan , sngcm::ast::DoStatementNode::SetWhileSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


EmptyStatement Member Function

Match StatementParser::EmptyStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5127 of Statement.cpp
Declaration at line 43 of Statement.hpp

Calls: soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::ForInitStatement , StatementParser::Statement


ExpressionStatement Member Function

Match StatementParser::ExpressionStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5006 of Statement.cpp
Declaration at line 42 of Statement.hpp

Calls: ExpressionParser::Expression , ParsingContext::PopParsingExpressionStatement , ParsingContext::PushParsingExpressionStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::Statement


ForInitStatement Member Function

Match StatementParser::ForInitStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2406 of Statement.cpp
Declaration at line 26 of Statement.hpp

Calls: StatementParser::AssignmentStatement , StatementParser::ConstructionStatement , StatementParser::EmptyStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: StatementParser::ForStatement


ForLoopStatementExpr Member Function

Match StatementParser::ForLoopStatementExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2517 of Statement.cpp
Declaration at line 27 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::AssignmentStatementExpr , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: StatementParser::ForStatement


ForStatement Member Function

Match StatementParser::ForStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2099 of Statement.cpp
Declaration at line 25 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::ForInitStatement , StatementParser::ForLoopStatementExpr , StatementParser::Statement , sngcm::ast::ForStatementNode::SetLeftParenSpan , sngcm::ast::ForStatementNode::SetRightParenSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


GotoCaseStatement Member Function

Match StatementParser::GotoCaseStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4038 of Statement.cpp
Declaration at line 35 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


GotoDefaultStatement Member Function

Match StatementParser::GotoDefaultStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4168 of Statement.cpp
Declaration at line 36 of Statement.hpp

Calls: soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


GotoStatement Member Function

Match StatementParser::GotoStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3082 of Statement.cpp
Declaration at line 31 of Statement.hpp

Calls: soulng::lexer::Lexer::GetMatch , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


IfStatement Member Function

Match StatementParser::IfStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1312 of Statement.cpp
Declaration at line 22 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::Statement , sngcm::ast::IfStatementNode::SetElseSpan , sngcm::ast::IfStatementNode::SetLeftParenSpan , sngcm::ast::IfStatementNode::SetRightParenSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: StatementParser::ControlStatement


Label Member Function

Match StatementParser::Label(CmajorLexer & lexer) static

Definition at line 432 of Statement.cpp
Declaration at line 17 of Statement.hpp

Calls: soulng::lexer::Lexer::GetMatch , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::LabeledStatement


LabeledStatement Member Function

Match StatementParser::LabeledStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 528 of Statement.cpp
Declaration at line 18 of Statement.hpp

Calls: StatementParser::Label , StatementParser::Statement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: StatementParser::Statement


RangeForStatement Member Function

Match StatementParser::RangeForStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2628 of Statement.cpp
Declaration at line 28 of Statement.hpp

Calls: ExpressionParser::Expression , IdentifierParser::Identifier , StatementParser::Statement , TypeExprParser::TypeExpr , sngcm::ast::RangeForStatementNode::SetColonSpan , sngcm::ast::RangeForStatementNode::SetLeftParenSpan , sngcm::ast::RangeForStatementNode::SetRightParenSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


ReturnStatement Member Function

Match StatementParser::ReturnStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1189 of Statement.cpp
Declaration at line 21 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


Statement Member Function

Match StatementParser::Statement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 15 of Statement.cpp
Declaration at line 16 of Statement.hpp

Calls: StatementParser::AssertStatement , StatementParser::AssignmentStatement , StatementParser::ConditionalCompilationStatement , StatementParser::ConstructionStatement , StatementParser::ControlStatement , StatementParser::DeleteStatement , StatementParser::DestroyStatement , StatementParser::EmptyStatement , StatementParser::ExpressionStatement , StatementParser::LabeledStatement , StatementParser::ThrowStatement , StatementParser::TryStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: StatementParser::CaseStatement , StatementParser::CompoundStatement , StatementParser::ConditionalCompilationStatement , StatementParser::DefaultStatement , StatementParser::DoStatement , StatementParser::ForStatement , StatementParser::IfStatement , StatementParser::LabeledStatement , StatementParser::RangeForStatement , StatementParser::WhileStatement


SwitchStatement Member Function

Match StatementParser::SwitchStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3207 of Statement.cpp
Declaration at line 32 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::CaseStatement , StatementParser::DefaultStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


ThrowStatement Member Function

Match StatementParser::ThrowStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5174 of Statement.cpp
Declaration at line 44 of Statement.hpp

Calls: ExpressionParser::Expression , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::Statement


TryStatement Member Function

Match StatementParser::TryStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5297 of Statement.cpp
Declaration at line 45 of Statement.hpp

Calls: StatementParser::Catch , StatementParser::CompoundStatement , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: StatementParser::Statement


WhileStatement Member Function

Match StatementParser::WhileStatement(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1566 of Statement.cpp
Declaration at line 23 of Statement.hpp

Calls: ExpressionParser::Expression , StatementParser::Statement , sngcm::ast::WhileStatementNode::SetLeftParenSpan , sngcm::ast::WhileStatementNode::SetRightParenSpan , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: StatementParser::ControlStatement


top | up | prev | next