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

 else :
 
 try :
 
bool have_readline = False
 
None g_run_one_line_str = None
 

Function Documentation

◆ get_terminal_size()

def embedded_interpreter.get_terminal_size (   fd)

Definition at line 33 of file embedded_interpreter.py.

Referenced by run_python_interpreter().

◆ readfunc()

def embedded_interpreter.readfunc (   prompt)

Definition at line 56 of file embedded_interpreter.py.

References strip_and_check_exit().

◆ readfunc_stdio()

def embedded_interpreter.readfunc_stdio (   prompt)

Definition at line 61 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 119 of file embedded_interpreter.py.

References strip_and_check_exit().

◆ run_python_interpreter()

def embedded_interpreter.run_python_interpreter (   local_dict)

Definition at line 72 of file embedded_interpreter.py.

References get_terminal_size().

◆ strip_and_check_exit()

def embedded_interpreter.strip_and_check_exit (   line)

Definition at line 49 of file embedded_interpreter.py.

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

Variable Documentation

◆ else

embedded_interpreter.else :

Definition at line 5 of file embedded_interpreter.py.

◆ g_run_one_line_str

None embedded_interpreter.g_run_one_line_str = None

Definition at line 30 of file embedded_interpreter.py.

◆ have_readline

bool embedded_interpreter.have_readline = False

Definition at line 15 of file embedded_interpreter.py.

◆ try

embedded_interpreter.try :

Definition at line 11 of file embedded_interpreter.py.