top | up | prev | next

CompileUnitParser Struct

Definition at line 15 of CompileUnit.hpp

Member Functions

Match ClassDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match ClassDelegateDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match CompileUnit(CmajorLexer& lexer, ParsingContext* ctx) static
Match ConceptDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match ConstantDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match Definition(CmajorLexer& lexer, ParsingContext* ctx, CompileUnitNode* cu, NamespaceNode* ns) static
Match Definitions(CmajorLexer& lexer, ParsingContext* ctx, CompileUnitNode* cu, NamespaceNode* ns) static
Match DelegateDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match EnumTypeDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match FunctionDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match GlobalVariableDefinition(CmajorLexer& lexer, ParsingContext* ctx, CompileUnitNode* cu) static
Match InterfaceDefinition(CmajorLexer& lexer, ParsingContext* ctx) static
Match NamespaceContent(CmajorLexer& lexer, ParsingContext* ctx, CompileUnitNode* cu, NamespaceNode* ns) static
Match NamespaceDefinition(CmajorLexer& lexer, ParsingContext* ctx, CompileUnitNode* cu, NamespaceNode* ns) static
std::unique_ptr<CompileUnitNode> Parse(CmajorLexer& lexer, ParsingContext* ctx) static
Match TypedefDeclaration(CmajorLexer& lexer, ParsingContext* ctx) static
Match UsingAliasDirective(CmajorLexer& lexer) static
Match UsingDirective(CmajorLexer& lexer, ParsingContext* ctx, NamespaceNode* ns) static
Match UsingDirectives(CmajorLexer& lexer, ParsingContext* ctx, NamespaceNode* ns) static
Match UsingNamespaceDirective(CmajorLexer& lexer, ParsingContext* ctx) static

Member Function Details

ClassDefinition Member Function

Match CompileUnitParser::ClassDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1353 of CompileUnit.cpp
Declaration at line 30 of CompileUnit.hpp

Calls: ClassParser::Class , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


ClassDelegateDefinition Member Function

Match CompileUnitParser::ClassDelegateDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1568 of CompileUnit.cpp
Declaration at line 35 of CompileUnit.hpp

Calls: DelegateParser::ClassDelegate , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


CompileUnit Member Function

Match CompileUnitParser::CompileUnit(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 61 of CompileUnit.cpp
Declaration at line 18 of CompileUnit.hpp

Calls: CompileUnitParser::NamespaceContent , soulng::lexer::Lexer::FileName , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan

Called by: CompileUnitParser::Parse


ConceptDefinition Member Function

Match CompileUnitParser::ConceptDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1267 of CompileUnit.cpp
Declaration at line 28 of CompileUnit.hpp

Calls: ConceptParser::Concept , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


ConstantDefinition Member Function

Match CompileUnitParser::ConstantDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1482 of CompileUnit.cpp
Declaration at line 33 of CompileUnit.hpp

Calls: ConstantParser::Constant , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


Definition Member Function

Match CompileUnitParser::Definition(CmajorLexer & lexer, ParsingContext * ctx, CompileUnitNode * cu, NamespaceNode * ns) static

Definition at line 627 of CompileUnit.cpp
Declaration at line 25 of CompileUnit.hpp

Calls: CompileUnitParser::ClassDefinition , CompileUnitParser::ClassDelegateDefinition , CompileUnitParser::ConceptDefinition , CompileUnitParser::ConstantDefinition , CompileUnitParser::DelegateDefinition , CompileUnitParser::EnumTypeDefinition , CompileUnitParser::FunctionDefinition , CompileUnitParser::GlobalVariableDefinition , CompileUnitParser::InterfaceDefinition , CompileUnitParser::NamespaceDefinition , CompileUnitParser::TypedefDeclaration , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: CompileUnitParser::Definitions


Definitions Member Function

Match CompileUnitParser::Definitions(CmajorLexer & lexer, ParsingContext * ctx, CompileUnitNode * cu, NamespaceNode * ns) static

Definition at line 565 of CompileUnit.cpp
Declaration at line 24 of CompileUnit.hpp

Calls: CompileUnitParser::Definition , sngcm::ast::NamespaceNode::AddMember , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: CompileUnitParser::NamespaceContent


DelegateDefinition Member Function

Match CompileUnitParser::DelegateDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1525 of CompileUnit.cpp
Declaration at line 34 of CompileUnit.hpp

Calls: DelegateParser::Delegate , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


EnumTypeDefinition Member Function

Match CompileUnitParser::EnumTypeDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1439 of CompileUnit.cpp
Declaration at line 32 of CompileUnit.hpp

Calls: EnumerationParser::EnumType , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


FunctionDefinition Member Function

Match CompileUnitParser::FunctionDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1310 of CompileUnit.cpp
Declaration at line 29 of CompileUnit.hpp

Calls: FunctionParser::Function , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


GlobalVariableDefinition Member Function

Match CompileUnitParser::GlobalVariableDefinition(CmajorLexer & lexer, ParsingContext * ctx, CompileUnitNode * cu) static

Definition at line 1611 of CompileUnit.cpp
Declaration at line 36 of CompileUnit.hpp

Calls: GlobalVariableParser::GlobalVariable , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


InterfaceDefinition Member Function

Match CompileUnitParser::InterfaceDefinition(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1396 of CompileUnit.cpp
Declaration at line 31 of CompileUnit.hpp

Calls: InterfaceParser::Interface , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


NamespaceContent Member Function

Match CompileUnitParser::NamespaceContent(CmajorLexer & lexer, ParsingContext * ctx, CompileUnitNode * cu, NamespaceNode * ns) static

Definition at line 129 of CompileUnit.cpp
Declaration at line 19 of CompileUnit.hpp

Calls: CompileUnitParser::Definitions , CompileUnitParser::UsingDirectives

Called by: CompileUnitParser::CompileUnit , CompileUnitParser::NamespaceDefinition


NamespaceDefinition Member Function

Match CompileUnitParser::NamespaceDefinition(CmajorLexer & lexer, ParsingContext * ctx, CompileUnitNode * cu, NamespaceNode * ns) static

Definition at line 1010 of CompileUnit.cpp
Declaration at line 26 of CompileUnit.hpp

Calls: CompileUnitParser::NamespaceContent , IdentifierParser::QualifiedId , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::SetPos , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: CompileUnitParser::Definition


Parse Member Function

std::unique_ptr<CompileUnitNode > CompileUnitParser::Parse(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 22 of CompileUnit.cpp
Declaration at line 17 of CompileUnit.hpp

Calls: CompileUnitParser::CompileUnit , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure


TypedefDeclaration Member Function

Match CompileUnitParser::TypedefDeclaration(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 1224 of CompileUnit.cpp
Declaration at line 27 of CompileUnit.hpp

Calls: TypedefParser::Typedef , soulng::lexer::Lexer::GetPos

Called by: CompileUnitParser::Definition


UsingAliasDirective Member Function

Match CompileUnitParser::UsingAliasDirective(CmajorLexer & lexer) static

Definition at line 282 of CompileUnit.cpp
Declaration at line 22 of CompileUnit.hpp

Calls: IdentifierParser::Identifier , IdentifierParser::QualifiedId , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::GetSpan , soulng::lexer::Lexer::ThrowExpectationFailure

Called by: CompileUnitParser::UsingDirective


UsingDirective Member Function

Match CompileUnitParser::UsingDirective(CmajorLexer & lexer, ParsingContext * ctx, NamespaceNode * ns) static

Definition at line 215 of CompileUnit.cpp
Declaration at line 21 of CompileUnit.hpp

Calls: CompileUnitParser::UsingAliasDirective , CompileUnitParser::UsingNamespaceDirective , sngcm::ast::NamespaceNode::AddMember , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: CompileUnitParser::UsingDirectives


UsingDirectives Member Function

Match CompileUnitParser::UsingDirectives(CmajorLexer & lexer, ParsingContext * ctx, NamespaceNode * ns) static

Definition at line 170 of CompileUnit.cpp
Declaration at line 20 of CompileUnit.hpp

Calls: CompileUnitParser::UsingDirective , soulng::lexer::Lexer::GetPos , soulng::lexer::Lexer::SetPos

Called by: CompileUnitParser::NamespaceContent


UsingNamespaceDirective Member Function

Match CompileUnitParser::UsingNamespaceDirective(CmajorLexer & lexer, ParsingContext * ctx) static

Definition at line 442 of CompileUnit.cpp
Declaration at line 23 of CompileUnit.hpp

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

Called by: CompileUnitParser::UsingDirective


top | up | prev | next