Package jazzparser :: Package shell :: Module tools :: Class LoadResultsTool
[hide private]
[frames] | no frames]

Class LoadResultsTool

source code

object --+    
         |    
      Tool --+
             |
            LoadResultsTool

Instance Methods [hide private]
 
run(self, args, state)
Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.
source code

Inherited from Tool: process_option_list

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

Class Variables [hide private]
  name = 'Load results'
hash(x)
  commands = ['loadresults', 'loadres']
  usage = ('loadresults <filename>', 'loads a saved parse result...
  help = 'Loads parse results from a file to which they\'ve been...

Inherited from Tool: tool_options

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

run(self, args, state)

source code 

Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.

By the time this is called, the options dict is available in self.options.

Overrides: Tool.run
(inherited documentation)

Class Variable Details [hide private]

usage

Value:
('loadresults <filename>', 'loads a saved parse results file')

help

Value:
'''Loads parse results from a file to which they\'ve been saved by the\
 parser on 
a previous occasion. These results will replace any already in the she\
ll state, 
so all other tools will henceforth operate on the loaded results.

'''