top | up | prev | next

EnumerationParser Struct

Definition at line 14 of Enumeration.hpp

Member Functions

Match EnumConstant(CmajorLexer& lexer, ParsingContext* ctx, EnumTypeNode* enumType) static
Match EnumConstants(CmajorLexer& lexer, ParsingContext* ctx, EnumTypeNode* enumType) static
Match EnumType(CmajorLexer& lexer, ParsingContext* ctx) static
Match UnderlyingType(CmajorLexer& lexer, ParsingContext* ctx) static

Member Function Details

EnumConstant Member Function

Match EnumerationParser::EnumConstant(CmajorLexer & lexer, ParsingContext * ctx, EnumTypeNode * enumType) static

Definition at line 469 of Enumeration.cpp
Declaration at line 19 of Enumeration.hpp

Calls: ExpressionParser::Expression , IdentifierParser::Identifier , sngcm::ast::EnumConstantNode::SetHasValue , sngcm::ast::EnumConstantNode::SetStrValue , soulng::lexer::Lexer::GetMatch , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: EnumerationParser::EnumConstants


EnumConstants Member Function

Match EnumerationParser::EnumConstants(CmajorLexer & lexer, ParsingContext * ctx, EnumTypeNode * enumType) static

Definition at line 340 of Enumeration.cpp
Declaration at line 18 of Enumeration.hpp

Calls: EnumerationParser::EnumConstant , sngcm::ast::EnumTypeNode::AddConstant , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: EnumerationParser::EnumType


EnumType Member Function

Match EnumerationParser::EnumType(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 16 of Enumeration.cpp
Declaration at line 16 of Enumeration.hpp

Calls: EnumerationParser::EnumConstants , EnumerationParser::UnderlyingType , IdentifierParser::Identifier , SpecifierParser::Specifiers , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: ClassParser::ClassMember , CompileUnitParser::EnumTypeDefinition


UnderlyingType Member Function

Match EnumerationParser::UnderlyingType(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 277 of Enumeration.cpp
Declaration at line 17 of Enumeration.hpp

Calls: TypeExprParser::TypeExpr , soulng::lexer::Lexer::GetPos

Called by: EnumerationParser::EnumType


top | up | prev | next