MySQL 26.10.0
Source Code Documentation
shcore::polyglot::Polyglot_language::Current_script Class Reference

#include <polyglot_language.h>

Public Member Functions

 Current_script ()
 
 Current_script (const Current_script &)=delete
 
Current_script & operator= (const Current_script &)=delete
 
 Current_script (Current_script &&)=delete
 
Current_script & operator= (Current_script &&)=delete
 
void push (const std::string &script)
 
void pop ()
 
std::string current_script () const
 
std::string current_folder () const
 

Private Attributes

std::string m_root
 
std::stack< std::string > m_scripts
 

Constructor & Destructor Documentation

◆ Current_script() [1/3]

shcore::polyglot::Polyglot_language::Current_script::Current_script ( )

◆ Current_script() [2/3]

shcore::polyglot::Polyglot_language::Current_script::Current_script ( const Current_script &  )
delete

◆ Current_script() [3/3]

shcore::polyglot::Polyglot_language::Current_script::Current_script ( Current_script &&  )
delete

Member Function Documentation

◆ current_folder()

std::string shcore::polyglot::Polyglot_language::Current_script::current_folder ( ) const

◆ current_script()

std::string shcore::polyglot::Polyglot_language::Current_script::current_script ( ) const
inline

◆ operator=() [1/2]

Current_script & shcore::polyglot::Polyglot_language::Current_script::operator= ( const Current_script &  )
delete

◆ operator=() [2/2]

Current_script & shcore::polyglot::Polyglot_language::Current_script::operator= ( Current_script &&  )
delete

◆ pop()

void shcore::polyglot::Polyglot_language::Current_script::pop ( )
inline

◆ push()

void shcore::polyglot::Polyglot_language::Current_script::push ( const std::string &  script)

Member Data Documentation

◆ m_root

std::string shcore::polyglot::Polyglot_language::Current_script::m_root
private

◆ m_scripts

std::stack<std::string> shcore::polyglot::Polyglot_language::Current_script::m_scripts
private

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