top | up | prev | next

DeclarationParser Struct

Definition at line 14 of Declaration.hpp

Member Functions

Match AliasDeclaration(CppLexer& lexer, ParsingContext* ctx) static
Match BlockDeclaration(CppLexer& lexer, ParsingContext* ctx) static
Match DeclSpecifier(CppLexer& lexer) static
Match DeclSpecifiers(CppLexer& lexer) static
Match Declaration(CppLexer& lexer, ParsingContext* ctx) static
Match FunctionSpecifier(CppLexer& lexer) static
Match LinkageSpecification(CppLexer& lexer, ParsingContext* ctx) static
Match NamedNamespaceDefinition(CppLexer& lexer, ParsingContext* ctx) static
Match NamespaceDefinition(CppLexer& lexer, ParsingContext* ctx) static
Match SimpleDeclaration(CppLexer& lexer, ParsingContext* ctx) static
Match StorageClassSpecifier(CppLexer& lexer) static
Match TypedefDeclaration(CppLexer& lexer, ParsingContext* ctx) static
Match UnnamedNamespaceDefinition(CppLexer& lexer, ParsingContext* ctx) static
Match UsingDeclaration(CppLexer& lexer, ParsingContext* ctx) static
Match UsingDirective(CppLexer& lexer, ParsingContext* ctx) static

Member Function Details

AliasDeclaration Member Function

Match DeclarationParser::AliasDeclaration(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 1621 of Declaration.cpp
Declaration at line 26 of Declaration.hpp

Calls: IdentifierParser::Identifier , TypeExprParser::TypeExpr

Called by: ClassParser::MemberDeclaration , DeclarationParser::BlockDeclaration


BlockDeclaration Member Function

Match DeclarationParser::BlockDeclaration(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 742 of Declaration.cpp
Declaration at line 20 of Declaration.hpp

Calls: ClassParser::ForwardClassDeclaration , DeclarationParser::AliasDeclaration , DeclarationParser::SimpleDeclaration , DeclarationParser::TypedefDeclaration , DeclarationParser::UsingDeclaration , DeclarationParser::UsingDirective , EnumerationParser::OpaqueEnumDeclaration

Called by: DeclarationParser::Declaration , StatementParser::DeclarationStatement


DeclSpecifier Member Function

Match DeclarationParser::DeclSpecifier(CppLexer & lexer) static

Definition at line 1183 of Declaration.cpp
Declaration at line 23 of Declaration.hpp

Calls: DeclarationParser::FunctionSpecifier , DeclarationParser::StorageClassSpecifier

Called by: DeclarationParser::DeclSpecifiers


DeclSpecifiers Member Function

Match DeclarationParser::DeclSpecifiers(CppLexer & lexer) static

Definition at line 1100 of Declaration.cpp
Declaration at line 22 of Declaration.hpp

Calls: DeclarationParser::DeclSpecifier

Called by: ClassParser::MemberDeclaration , ClassParser::SpecialMemberFunctionDeclaration , ClassParser::SpecialMemberFunctionDefinition , DeclarationParser::SimpleDeclaration , FunctionParser::FunctionDefinition


Declaration Member Function

Match DeclarationParser::Declaration(CppLexer & lexer, ParsingContext * ctx) static

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

Calls: ClassParser::ClassDeclaration , ClassParser::SpecialMemberFunctionDefinition , DeclarationParser::BlockDeclaration , DeclarationParser::LinkageSpecification , DeclarationParser::NamespaceDefinition , EnumerationParser::EnumDeclaration , FunctionParser::FunctionDefinition , TemplateParser::ExplicitInstantiation , TemplateParser::ExplicitSpecialization , TemplateParser::TemplateDeclaration

Called by: DeclarationParser::LinkageSpecification , SourceFileParser::Declarations , TemplateParser::ExplicitInstantiation , TemplateParser::ExplicitSpecialization , TemplateParser::TemplateDeclaration


FunctionSpecifier Member Function

Match DeclarationParser::FunctionSpecifier(CppLexer & lexer) static

Definition at line 1551 of Declaration.cpp
Declaration at line 25 of Declaration.hpp

Called by: DeclarationParser::DeclSpecifier


LinkageSpecification Member Function

Match DeclarationParser::LinkageSpecification(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 2178 of Declaration.cpp
Declaration at line 30 of Declaration.hpp

Calls: DeclarationParser::Declaration , LiteralParser::StringLiteral

Called by: DeclarationParser::Declaration


NamedNamespaceDefinition Member Function

Match DeclarationParser::NamedNamespaceDefinition(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 447 of Declaration.cpp
Declaration at line 18 of Declaration.hpp

Calls: IdentifierParser::Identifier , SourceFileParser::Declarations

Called by: DeclarationParser::NamespaceDefinition


NamespaceDefinition Member Function

Match DeclarationParser::NamespaceDefinition(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 370 of Declaration.cpp
Declaration at line 17 of Declaration.hpp

Calls: DeclarationParser::NamedNamespaceDefinition , DeclarationParser::UnnamedNamespaceDefinition

Called by: DeclarationParser::Declaration


SimpleDeclaration Member Function

Match DeclarationParser::SimpleDeclaration(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 989 of Declaration.cpp
Declaration at line 21 of Declaration.hpp

Calls: DeclarationParser::DeclSpecifiers , DeclaratorParser::InitDeclarator , TypeExprParser::TypeExpr

Called by: DeclarationParser::BlockDeclaration , StatementParser::ForInitStatement


StorageClassSpecifier Member Function

Match DeclarationParser::StorageClassSpecifier(CppLexer & lexer) static

Definition at line 1468 of Declaration.cpp
Declaration at line 24 of Declaration.hpp

Called by: DeclarationParser::DeclSpecifier


TypedefDeclaration Member Function

Match DeclarationParser::TypedefDeclaration(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 2025 of Declaration.cpp
Declaration at line 29 of Declaration.hpp

Calls: DeclaratorParser::Declarator , TypeExprParser::TypeExpr

Called by: ClassParser::MemberDeclaration , DeclarationParser::BlockDeclaration


UnnamedNamespaceDefinition Member Function

Match DeclarationParser::UnnamedNamespaceDefinition(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 603 of Declaration.cpp
Declaration at line 19 of Declaration.hpp

Calls: SourceFileParser::Declarations

Called by: DeclarationParser::NamespaceDefinition


UsingDeclaration Member Function

Match DeclarationParser::UsingDeclaration(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 1926 of Declaration.cpp
Declaration at line 28 of Declaration.hpp

Calls: IdentifierParser::QualifiedIdNode , sngcpp::ast::SourceFileNode::AddUsingDirectiveOrDeclaration , sngcpp::cppparser::ParsingContext::GetSourceFileNode

Called by: ClassParser::MemberDeclaration , DeclarationParser::BlockDeclaration


UsingDirective Member Function

Match DeclarationParser::UsingDirective(CppLexer & lexer, ParsingContext * ctx) static

Definition at line 1781 of Declaration.cpp
Declaration at line 27 of Declaration.hpp

Calls: IdentifierParser::QualifiedIdNode , sngcpp::ast::SourceFileNode::AddUsingDirectiveOrDeclaration , sngcpp::cppparser::ParsingContext::GetSourceFileNode

Called by: DeclarationParser::BlockDeclaration


top | up | prev | next