Mana
mana::LocalSemanticAnalyzer Class Referencefinal

#include <LocalSemanticAnalyzer.h>

Inheritance diagram for mana::LocalSemanticAnalyzer:
mana::SemanticAnalyzer mana::Noncopyable

Public Member Functions

 LocalSemanticAnalyzer (const std::shared_ptr< SymbolFactory > &symbolFactory, const std::shared_ptr< TypeDescriptorFactory > &typeDescriptorFactory, const std::shared_ptr< StringPool > &stringPool, const std::shared_ptr< NamespaceRegistry > &namespaceRegistry)
 
 ~LocalSemanticAnalyzer () override=default
 
void BeginNamespaceScope (const std::string_view &name)
 
void EndNamespaceScope ()
 
void PostResolverResolve (std::shared_ptr< SyntaxNode > node)
 
- Public Member Functions inherited from mana::SemanticAnalyzer
 SemanticAnalyzer (const std::shared_ptr< SymbolFactory > &symbolFactory, const std::shared_ptr< TypeDescriptorFactory > &typeDescriptorFactory, const std::shared_ptr< StringPool > &stringPool)
 
virtual ~SemanticAnalyzer ()=default
 
bool SearchSymbolFromName (const std::shared_ptr< SyntaxNode > &node)
 
void ResolveTypeDescription (const std::shared_ptr< SyntaxNode > &node)
 
std::shared_ptr< TypeDescriptorResolveVariableSize (const std::shared_ptr< SyntaxNode > &node)
 
void ResolveDeclarator (const std::shared_ptr< SyntaxNode > &node, const bool isStaticVariable)
 
void ResolveVariableDescription (const std::shared_ptr< SyntaxNode > &node, const Symbol::MemoryTypeId memoryTypeId, const bool isStaticVariable)
 

Additional Inherited Members

- Static Public Member Functions inherited from mana::SemanticAnalyzer
static void SetCurrentFileInformation (const std::shared_ptr< SyntaxNode > &node)
 
static void ResolveTypeFromChildNode (const std::shared_ptr< SyntaxNode > &node)
 
- Protected Member Functions inherited from mana::SemanticAnalyzer
std::shared_ptr< SymbolLookup (const std::string_view name) const
 
const std::shared_ptr< SymbolFactory > & GetSymbolFactory () const
 
const std::shared_ptr< StringPool > & GetStringPool () const
 
const std::shared_ptr< TypeDescriptorFactory > & GetTypeDescriptorFactory () const
 

Constructor & Destructor Documentation

◆ LocalSemanticAnalyzer()

mana::LocalSemanticAnalyzer::LocalSemanticAnalyzer ( const std::shared_ptr< SymbolFactory > &  symbolFactory,
const std::shared_ptr< TypeDescriptorFactory > &  typeDescriptorFactory,
const std::shared_ptr< StringPool > &  stringPool,
const std::shared_ptr< NamespaceRegistry > &  namespaceRegistry 
)

◆ ~LocalSemanticAnalyzer()

mana::LocalSemanticAnalyzer::~LocalSemanticAnalyzer ( )
overridedefault

Member Function Documentation

◆ BeginNamespaceScope()

void mana::LocalSemanticAnalyzer::BeginNamespaceScope ( const std::string_view &  name)

◆ EndNamespaceScope()

void mana::LocalSemanticAnalyzer::EndNamespaceScope ( )

◆ PostResolverResolve()

void mana::LocalSemanticAnalyzer::PostResolverResolve ( std::shared_ptr< SyntaxNode node)

The documentation for this class was generated from the following files: