top | up | prev | next

NameResolver Class

Definition at line 14 of Scope.cpp

Member Functions

const std::vector<std::u32string>& NameSequence() const
void Visit(IdentifierNode& identifierNode) override
void Visit(NestedIdNode& nestedIdNode) override

Member Variables

std::vector<std::u32string> nameSequence

Member Function Details

NameSequence Member Function

const std::vector<std::u32string>& sngcpp::symbols::NameResolver::NameSequence() const

Definition at line 19 of Scope.cpp :
 19 { return nameSequence; }

Called by: sngcpp::symbols::Scope::Lookup


Visit Member Function

void sngcpp::symbols::NameResolver::Visit(IdentifierNode & identifierNode) override

Definition at line 24 of Scope.cpp :
 25 {
 26     nameSequence.push_back(identifierNode.Identifier());
 27 }


Declaration at line 17 of Scope.cpp

Base class overridden functions: sngcpp::ast::Visitor::Visit

Calls: sngcpp::ast::IdentifierNode::Identifier


Visit Member Function

void sngcpp::symbols::NameResolver::Visit(NestedIdNode & nestedIdNode) override

Definition at line 29 of Scope.cpp
Declaration at line 18 of Scope.cpp

Base class overridden functions: sngcpp::ast::Visitor::Visit

Calls: sngcpp::ast::BinaryNode::Left , sngcpp::ast::BinaryNode::Right , sngcpp::ast::Node::Accept


top | up | prev | next