LLDB  mainline
Classes | Functions | Variables
embedded_interpreter Namespace Reference

Classes

class  LLDBExit
 

Functions

def get_terminal_size (fd)
 
def strip_and_check_exit (line)
 
def readfunc (prompt)
 
def readfunc_stdio (prompt)
 
def run_python_interpreter (local_dict)
 
def run_one_line (local_dict, input_string)
 

Variables

bool have_readline = False
 
 g_run_one_line_str = None
 

Function Documentation

◆ get_terminal_size()

def embedded_interpreter.get_terminal_size (   fd)

Definition at line 32 of file embedded_interpreter.py.

Referenced by run_python_interpreter().

◆ readfunc()

def embedded_interpreter.readfunc (   prompt)

Definition at line 54 of file embedded_interpreter.py.

References strip_and_check_exit().

◆ readfunc_stdio()

def embedded_interpreter.readfunc_stdio (   prompt)

Definition at line 59 of file embedded_interpreter.py.

References strip_and_check_exit().

◆ run_one_line()

def embedded_interpreter.run_one_line (   local_dict,
  input_string 
)

Definition at line 113 of file embedded_interpreter.py.

References strip_and_check_exit().

◆ run_python_interpreter()

def embedded_interpreter.run_python_interpreter (   local_dict)

Definition at line 70 of file embedded_interpreter.py.

References get_terminal_size().

◆ strip_and_check_exit()

def embedded_interpreter.strip_and_check_exit (   line)

Definition at line 47 of file embedded_interpreter.py.

Referenced by readfunc(), readfunc_stdio(), and run_one_line().

Variable Documentation

◆ g_run_one_line_str

embedded_interpreter.g_run_one_line_str = None

Definition at line 29 of file embedded_interpreter.py.

◆ have_readline

bool embedded_interpreter.have_readline = False

Definition at line 14 of file embedded_interpreter.py.