Home | Trees | Index | Help |
|
---|
Package wx :: Package py :: Module interpreter :: Class Interpreter |
|
InteractiveInterpreter
--+
|
Interpreter
InterpreterAlaCarte
Interpreter based on code.InteractiveInterpreter.
Method Summary | |
---|---|
Create an interactive interpreter object. | |
Return list of auto-completion keycodes. | |
Return list of auto-completion options for a command. | |
Return call tip text for a command. | |
Send command to the interpreter to be executed. | |
Compile and run source code in the interpreter. |
Class Variable Summary | |
---|---|
str |
revision = '1.8'
|
Method Details |
---|
__init__(self,
locals=None,
rawin=None,
stdin=<epydoc.imports._DevNull instance at 0xb7c35f8c>,
stdout=<epydoc.imports._DevNull instance at 0xb7c35f8c>,
stderr=<epydoc.imports._DevNull instance at 0xb7c35f8c>,
showInterpIntro=True)
|
getAutoCompleteKeys(self)Return list of auto-completion keycodes. |
getAutoCompleteList(self, command='', *args, **kwds)Return list of auto-completion options for a command. The list of options will be based on the locals namespace. |
getCallTip(self, command='', *args, **kwds)Return call tip text for a command. Call tip information will be based on the locals namespace. |
push(self, command)Send command to the interpreter to be executed. Because this may be called recursively, we append a new list onto the commandBuffer list and then append commands into that. If the passed in command is part of a multi-line command we keep appending the pieces to the last list in commandBuffer until we have a complete command. If not, we delete that last list. |
runsource(self, source)Compile and run source code in the interpreter.
|
Class Variable Details |
---|
revision
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:17 2007 | http://epydoc.sf.net |