lldb.embedded_interpreter.SimpleREPL

Package lldb :: Module embedded_interpreter :: Class SimpleREPL |
[hide private]
[frames] | no frames]

# Class SimpleREPL

source code

Instance Methods | [hide private]
__init__(self, prompt, dict) Constructor. | source code
interact(self) Closely emulate the interactive Python console. | source code
process_input(self, in_str) | source code
my_raw_input(self, prompt) | source code
read_py_command(self) | source code
one_line(self, input) | source code
Inherited from `code.InteractiveConsole`: `push`, `raw_input`, `resetbuffer` Inherited from `code.InteractiveInterpreter`: `runcode`, `runsource`, `showsyntaxerror`, `showtraceback`, `write`

Method Details | [hide private]

### __init__(self, prompt, dict) (Constructor) | source code
Constructor. The optional locals argument will be passed to the InteractiveInterpreter base class. The optional filename argument should specify the (file)name of the input stream; it will show up in tracebacks. Overrides: code.InteractiveInterpreter.__init__ (inherited documentation)

### interact(self) | source code
Closely emulate the interactive Python console. The optional banner argument specify the banner to print before the first interaction; by default it prints a banner similar to the one printed by the real Python interpreter, followed by the current class name in parentheses (so as not to confuse this with the real interpreter -- since it's so close!). Overrides: code.InteractiveConsole.interact (inherited documentation)