top | up | prev | next

ExpressionParser Struct

Definition at line 14 of Expression.hpp

Member Functions

Match Additive(CmajorLexer& lexer, ParsingContext* ctx) static
Match ArgumentList(CmajorLexer& lexer, ParsingContext* ctx, Node* node) static
Match BitAnd(CmajorLexer& lexer, ParsingContext* ctx) static
Match BitOr(CmajorLexer& lexer, ParsingContext* ctx) static
Match BitXor(CmajorLexer& lexer, ParsingContext* ctx) static
Match CastExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match Conjunction(CmajorLexer& lexer, ParsingContext* ctx) static
Match ConstructExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match Disjunction(CmajorLexer& lexer, ParsingContext* ctx) static
Match Equality(CmajorLexer& lexer, ParsingContext* ctx) static
Match Equivalence(CmajorLexer& lexer, ParsingContext* ctx) static
Match Expression(CmajorLexer& lexer, ParsingContext* ctx) static
Match ExpressionList(CmajorLexer& lexer, ParsingContext* ctx, Node* node) static
Match Implication(CmajorLexer& lexer, ParsingContext* ctx) static
Match InvokeExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match Multiplicative(CmajorLexer& lexer, ParsingContext* ctx) static
Match NewExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match Postfix(CmajorLexer& lexer, ParsingContext* ctx) static
Match Prefix(CmajorLexer& lexer, ParsingContext* ctx) static
Match Primary(CmajorLexer& lexer, ParsingContext* ctx) static
Match Relational(CmajorLexer& lexer, ParsingContext* ctx) static
Match Shift(CmajorLexer& lexer, ParsingContext* ctx) static
Match SizeOfExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match TypeIdExpr(CmajorLexer& lexer, ParsingContext* ctx) static
Match TypeNameExpr(CmajorLexer& lexer, ParsingContext* ctx) static

Member Function Details

Additive Member Function

Match ExpressionParser::Additive(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2118 of Expression.cpp
Declaration at line 27 of Expression.hpp

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

Called by: ExpressionParser::Shift


ArgumentList Member Function

Match ExpressionParser::ArgumentList(CmajorLexer & lexer, ParsingContext * ctx, Node * node) static

Definition at line 5225 of Expression.cpp
Declaration at line 38 of Expression.hpp

Calls: ExpressionParser::ExpressionList , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: ClassParser::Initializer , ExpressionParser::InvokeExpr , ExpressionParser::NewExpr , ExpressionParser::Postfix , StatementParser::ConstructionStatement


BitAnd Member Function

Match ExpressionParser::BitAnd(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1033 of Expression.cpp
Declaration at line 23 of Expression.hpp

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

Called by: ExpressionParser::BitXor


BitOr Member Function

Match ExpressionParser::BitOr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 707 of Expression.cpp
Declaration at line 21 of Expression.hpp

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

Called by: ExpressionParser::Conjunction


BitXor Member Function

Match ExpressionParser::BitXor(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 870 of Expression.cpp
Declaration at line 22 of Expression.hpp

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

Called by: ExpressionParser::BitOr


CastExpr Member Function

Match ExpressionParser::CastExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4512 of Expression.cpp
Declaration at line 35 of Expression.hpp

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

Called by: ExpressionParser::Primary


Conjunction Member Function

Match ExpressionParser::Conjunction(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 544 of Expression.cpp
Declaration at line 20 of Expression.hpp

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

Called by: ExpressionParser::Disjunction


ConstructExpr Member Function

Match ExpressionParser::ConstructExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4769 of Expression.cpp
Declaration at line 36 of Expression.hpp

Calls: ExpressionParser::ExpressionList , TypeExprParser::TypeExpr , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ExpressionParser::Primary


Disjunction Member Function

Match ExpressionParser::Disjunction(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 381 of Expression.cpp
Declaration at line 19 of Expression.hpp

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

Called by: ExpressionParser::Implication


Equality Member Function

Match ExpressionParser::Equality(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1196 of Expression.cpp
Declaration at line 24 of Expression.hpp

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

Called by: ExpressionParser::BitAnd


Equivalence Member Function

Match ExpressionParser::Equivalence(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 61 of Expression.cpp
Declaration at line 17 of Expression.hpp

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

Called by: ExpressionParser::Expression


Expression Member Function

Match ExpressionParser::Expression(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 18 of Expression.cpp
Declaration at line 16 of Expression.hpp

Calls: ExpressionParser::Equivalence , soulng::lexer::Lexer::GetPos

Called by: ConceptParser::AxiomStatement , ConstantParser::Constant , EnumerationParser::EnumConstant , ExpressionParser::CastExpr , ExpressionParser::ExpressionList , ExpressionParser::Postfix , ExpressionParser::Primary , ExpressionParser::SizeOfExpr , ExpressionParser::TypeIdExpr , ExpressionParser::TypeNameExpr , GlobalVariableParser::GlobalVariable , LiteralParser::ArrayLiteral , LiteralParser::StructuredLiteral , StatementParser::AssertStatement , StatementParser::AssignmentStatementExpr , StatementParser::CaseStatement , StatementParser::ConstructionStatement , StatementParser::DeleteStatement , StatementParser::DestroyStatement , StatementParser::DoStatement , StatementParser::ExpressionStatement , StatementParser::ForLoopStatementExpr , StatementParser::ForStatement , StatementParser::GotoCaseStatement , StatementParser::IfStatement , StatementParser::RangeForStatement , StatementParser::ReturnStatement , StatementParser::SwitchStatement , StatementParser::ThrowStatement , StatementParser::WhileStatement , TypeExprParser::PostfixTypeExpr


ExpressionList Member Function

Match ExpressionParser::ExpressionList(CmajorLexer & lexer, ParsingContext * ctx, Node * node) static

Definition at line 5269 of Expression.cpp
Declaration at line 39 of Expression.hpp

Calls: ExpressionParser::Expression , ParsingContext::BeginParsingArguments , ParsingContext::EndParsingArguments , sngcm::ast::Node::AddArgument , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: ExpressionParser::ArgumentList , ExpressionParser::ConstructExpr


Implication Member Function

Match ExpressionParser::Implication(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 224 of Expression.cpp
Declaration at line 18 of Expression.hpp

Calls: ExpressionParser::Disjunction , ExpressionParser::Implication , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ExpressionParser::Equivalence , ExpressionParser::Implication


InvokeExpr Member Function

Match ExpressionParser::InvokeExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5426 of Expression.cpp
Declaration at line 40 of Expression.hpp

Calls: ExpressionParser::ArgumentList , IdentifierParser::Identifier , TemplateParser::TemplateId , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ConceptParser::PredicateConstraint


Multiplicative Member Function

Match ExpressionParser::Multiplicative(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2333 of Expression.cpp
Declaration at line 28 of Expression.hpp

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

Called by: ExpressionParser::Additive


NewExpr Member Function

Match ExpressionParser::NewExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 5035 of Expression.cpp
Declaration at line 37 of Expression.hpp

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

Called by: ExpressionParser::Primary


Postfix Member Function

Match ExpressionParser::Postfix(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3051 of Expression.cpp
Declaration at line 30 of Expression.hpp

Calls: ExpressionParser::ArgumentList , ExpressionParser::Expression , ExpressionParser::Primary , IdentifierParser::Identifier , ParsingContext::PopParsingExpressionStatement , ParsingContext::PopParsingLvalue , ParsingContext::PushParsingExpressionStatement , ParsingContext::PushParsingLvalue , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ExpressionParser::Prefix


Prefix Member Function

Match ExpressionParser::Prefix(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 2589 of Expression.cpp
Declaration at line 29 of Expression.hpp

Calls: ExpressionParser::Postfix , ExpressionParser::Prefix , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: ExpressionParser::Multiplicative , ExpressionParser::Prefix


Primary Member Function

Match ExpressionParser::Primary(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 3502 of Expression.cpp
Declaration at line 31 of Expression.hpp

Calls: BasicTypeParser::BasicType , ExpressionParser::CastExpr , ExpressionParser::ConstructExpr , ExpressionParser::Expression , ExpressionParser::NewExpr , ExpressionParser::SizeOfExpr , ExpressionParser::TypeIdExpr , ExpressionParser::TypeNameExpr , IdentifierParser::Identifier , LiteralParser::Literal , TemplateParser::TemplateId , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: ExpressionParser::Postfix


Relational Member Function

Match ExpressionParser::Relational(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1411 of Expression.cpp
Declaration at line 25 of Expression.hpp

Calls: ExpressionParser::Shift , ParsingContext::PopParsingIsOrAs , ParsingContext::PushParsingIsOrAs , TypeExprParser::TypeExpr , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos

Called by: ExpressionParser::Equality


Shift Member Function

Match ExpressionParser::Shift(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1873 of Expression.cpp
Declaration at line 26 of Expression.hpp

Calls: ExpressionParser::Additive , ParsingContext::BeginParsingArguments , ParsingContext::EndParsingArguments , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ExpressionParser::Relational


SizeOfExpr Member Function

Match ExpressionParser::SizeOfExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4029 of Expression.cpp
Declaration at line 32 of Expression.hpp

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

Called by: ExpressionParser::Primary


TypeIdExpr Member Function

Match ExpressionParser::TypeIdExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4351 of Expression.cpp
Declaration at line 34 of Expression.hpp

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

Called by: ExpressionParser::Primary


TypeNameExpr Member Function

Match ExpressionParser::TypeNameExpr(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 4190 of Expression.cpp
Declaration at line 33 of Expression.hpp

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

Called by: ExpressionParser::Primary


top | up | prev | next