#include <cadabra2-cli.hh>
◆ Flags
Enumerator |
---|
None | |
NoBanner | |
IgnoreSemicolons | |
NoColour | |
NoReadline | |
◆ Shell()
Shell::Shell |
( |
Flags | flags | ) |
|
◆ ~Shell()
◆ evaluate()
pybind11::object Shell::evaluate |
( |
const std::string & | code, |
|
|
const std::string & | filename = "<stdin>" ) |
◆ execute()
void Shell::execute |
( |
const std::string & | code, |
|
|
const std::string & | filename = "<stdin>" ) |
◆ execute_file()
◆ get_ps1()
std::string Shell::get_ps1 |
( |
| ) |
|
|
private |
◆ get_ps2()
std::string Shell::get_ps2 |
( |
| ) |
|
|
private |
◆ handle_error() [1/2]
void Shell::handle_error |
( |
| ) |
|
|
private |
◆ handle_error() [2/2]
void Shell::handle_error |
( |
pybind11::error_already_set & | err | ) |
|
|
private |
◆ interact()
◆ interact_file()
◆ process_ps1()
void Shell::process_ps1 |
( |
const std::string & | line | ) |
|
|
private |
◆ process_ps2()
void Shell::process_ps2 |
( |
const std::string & | line | ) |
|
|
private |
◆ repr()
std::string Shell::repr |
( |
const pybind11::handle & | obj | ) |
|
|
private |
◆ restart()
◆ sanitize()
std::string Shell::sanitize |
( |
std::string | s | ) |
|
|
private |
◆ set_completion_callback()
void Shell::set_completion_callback |
( |
const char * | buffer, |
|
|
std::vector< std::string > & | completions ) |
|
private |
◆ set_histfile()
void Shell::set_histfile |
( |
| ) |
|
|
private |
◆ str()
std::string Shell::str |
( |
const pybind11::handle & | obj | ) |
|
|
private |
◆ write_stderr()
◆ write_stdout()
◆ collect
std::string Shell::collect |
|
private |
◆ colour_error
◆ colour_info
◆ colour_reset
◆ colour_success
◆ colour_warning
◆ flags
◆ globals
pybind11::dict Shell::globals |
|
private |
◆ histfile
std::string Shell::histfile |
|
private |
◆ py_stderr
pybind11::object Shell::py_stderr |
|
private |
◆ py_stdout
pybind11::object Shell::py_stdout |
|
private |
◆ site_path
std::string Shell::site_path |
|
private |
◆ sys
pybind11::object Shell::sys |
|
private |
The documentation for this class was generated from the following files: