Package EasyExtend :: Module eeconsole :: Class EEReplayConsole
[hide private]
[frames] | no frames]

Class EEReplayConsole

      object --+        
               |        
     ConsoleBase --+    
                   |    
      object --+   |    
               |   |    
eeoptions.EEShow --+    
                   |    
           EEConsole --+
                       |
                      EEReplayConsole
Known Subclasses:

Nested Classes [hide private]
  recorded_out
Wraps a standard interface and extend it by a report which is usually a text-log.
  ReplayedUser
A ReplayedUser is used to switch between a user input mode and a mode where data is read from a session protocol.
Instance Methods [hide private]
 
session(self, file)
Line generator.
 
__init__(self, langlet, name, *args, **kwd)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_prepare_prefix(self)
 
split_prefix(self, line)
 
at_start(self)
Method used at console start.
 
at_exit(self)
reset default prompt
 
_set_recorded_output(self)
 
_clear_recorded_output(self)
 
session_protocol(self)
 
find_recorded_session(self, langlet, console_name, session)

Inherited from EEConsole: compile_cst, try_parse

Inherited from ConsoleBase: input, interact, reset, runcode, showtraceback, write

Inherited from eeoptions.EEShow: maybe_grammar_check, maybe_show_cst_after, maybe_show_cst_before, maybe_show_python, maybe_show_scan, maybe_show_token

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from eeoptions.EEShow: show_tokenstream

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

session(self, file)

 

Line generator. Lines are read from file and file gets closed. This way the file can be used within a RecordedReplayedSession which derives from a ReplayedSession.

__init__(self, langlet, name, *args, **kwd)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

at_start(self)

 

Method used at console start. Select right prompt and print header.

Overrides: ConsoleBase.at_start

at_exit(self)

 

reset default prompt

Overrides: ConsoleBase.at_exit