top | up | prev | next

TokenIdResolverVisitor Class

Definition at line 153 of LexerFile.cpp

Member Functions

const std::u32string& TokenId() const
void Visit(soulng::cppcode::ReturnStatement& object) override

Member Variables

std::u32string tokenId

Member Function Details

TokenId Member Function

const std::u32string& sng2html::sng2html::TokenIdResolverVisitor::TokenId() const

Definition at line 157 of LexerFile.cpp :
157 { return tokenId; }


Visit Member Function

void sng2html::sng2html::TokenIdResolverVisitor::Visit(soulng::cppcode::ReturnStatement& object) override

Definition at line 162 of LexerFile.cpp :
163 {
164     if (tokenId.empty())
165     {
166         if (object.GetExpression())
167         {
168             tokenId = object.GetExpression()->Name();
169         }
170     }
171 }


Declaration at line 156 of LexerFile.cpp


top | up | prev | next