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

Class ShellState

source code

object --+
         |
        ShellState

Class to wrap up the various bits of state that need to be stored in the shell and that may be manipulated by tools.

Instance Methods [hide private]
 
__init__(self, results=[], options=None, tagger=None, parser=None, formalism=None, env=None, seq_id=None, input_data=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_data(self, name, help_msg='')
Get previously loaded data, or raise a ShellError saying it's not been loaded.
source code
 
save(self, name)
Pickles the shell state and stores it to a file.
source code

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

Static Methods [hide private]
 
load(name)
Loads a pickled state representation.
source code
 
list()
List the names of stored shell sessions.
source code
 
remove(name)
Remove the named saved session.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, results=[], options=None, tagger=None, parser=None, formalism=None, env=None, seq_id=None, input_data=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)