#include <cadabra2-cli.hh>
◆ Flags
Enumerator |
---|
None | |
NoBanner | |
IgnoreSemicolons | |
NoColour | |
NoReadline | |
TeXmacs | |
◆ Shell()
Shell::Shell |
( |
Flags |
flags | ) |
|
◆ ~Shell()
◆ evaluate()
pybind11::object Shell::evaluate |
( |
const std::string & |
code, |
|
|
const std::string & |
filename = "<stdin>" |
|
) |
| const |
◆ execute()
void Shell::execute |
( |
const std::string & |
code, |
|
|
const std::string & |
filename = "<stdin>" |
|
) |
| |
◆ execute_file()
void Shell::execute_file |
( |
const std::string & |
filename, |
|
|
bool |
preprocess = true |
|
) |
| |
◆ 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()
void Shell::interact_file |
( |
const std::string & |
filename, |
|
|
bool |
preprocess = true |
|
) |
| |
◆ interact_texmacs()
void Shell::interact_texmacs |
( |
| ) |
|
◆ open_texmacs_logfile()
void Shell::open_texmacs_logfile |
( |
| ) |
|
|
private |
◆ 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 |
◆ 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 |
◆ show_banner()
void Shell::show_banner |
( |
| ) |
const |
◆ start()
◆ str()
std::string Shell::str |
( |
const pybind11::handle & |
obj | ) |
const |
|
private |
◆ write_stderr()
void Shell::write_stderr |
( |
const std::string & |
text, |
|
|
const std::string & |
end = "\n" , |
|
|
bool |
flush = false |
|
) |
| |
◆ write_stdout()
void Shell::write_stdout |
( |
const std::string & |
text, |
|
|
const std::string & |
end = "\n" , |
|
|
bool |
flush = false |
|
) |
| |
◆ catchErr
◆ catchOut
◆ collect
std::string Shell::collect |
|
private |
◆ colour_bold
const char* Shell::colour_bold |
|
private |
◆ colour_error
const char* Shell::colour_error |
|
private |
◆ colour_info
const char* Shell::colour_info |
|
private |
◆ colour_reset
const char* Shell::colour_reset |
|
private |
◆ colour_success
const char* Shell::colour_success |
|
private |
◆ colour_warning
const char* Shell::colour_warning |
|
private |
◆ flags
◆ globals
pybind11::dict Shell::globals |
|
private |
◆ histfile
std::string Shell::histfile |
|
private |
◆ logf
std::ofstream Shell::logf |
|
private |
◆ main_module
pybind11::module Shell::main_module |
|
private |
◆ main_namespace
pybind11::object Shell::main_namespace |
|
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: