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

Class EERecordedConsole

      object --+        
               |        
     ConsoleBase --+    
                   |    
      object --+   |    
               |   |    
eeoptions.EEShow --+    
                   |    
           EEConsole --+
                       |
                      EERecordedConsole

EEConsole extension used to record user input.

Nested Classes [hide private]
  dual_io
Wraps a standard interface and extend it by a report which is usually a text-log.
  RecordedUser
Logs all user input and writes it into a report.
Instance Methods [hide private]
 
__init__(self, langlet, name, *args, **kwd)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
_set_dual_IO(self)
Replaces sys.stdxxx files by dual_io counterparts.
 
_clear_dual_IO(self)
Unwraps dual_io.
 
at_start(self)
Method used at console start.
 
at_exit(self)
reset default prompt
 
acquire_session_report(self, langlet, console_name, recording_option)

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]

__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