Package EasyExtend :: Module eecommon :: Class EEShow
[hide private]
[frames] | no frames]

Class EEShow



object --+
         |
        EEShow
Known Subclasses:
eeconsole.EEConsole, eecompiler.EECompiler, eecompiler.EEModule

Instance Methods [hide private]
 
maybe_show_token(self, source, filename=None)
Used to show token-stream created by tokenizer.
 
maybe_show_cst_before(self, cst)
Used to show CST created by the parser *before* transformation.
 
maybe_show_cst_after(self, cst)
Used to show CST created by the parser *after* transformation.
 
maybe_show_python(self, cst)
Used to show Python source code generated transformed cst.

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

maybe_show_token(self, source, filename=None)

 
Used to show token-stream created by tokenizer. Call depends on show_token option -t.
Parameters:
  • source_or_file - source or file to be tokenized.

maybe_show_cst_before(self, cst)

 
Used to show CST created by the parser *before* transformation. Call depends on show_cst_before option -b.
Parameters:
  • cst - cst to be printed.

maybe_show_cst_after(self, cst)

 
Used to show CST created by the parser *after* transformation. Call depends on show_cst_after option -a.
Parameters:
  • cst - cst to be printed.

maybe_show_python(self, cst)

 
Used to show Python source code generated transformed cst. Call depends on show_token option -p.
Parameters:
  • cst - cst to be unparsed.