Package Bio :: Package Parsers :: Module spark :: Class GenericParser
[hide private]
[frames] | no frames]

Class GenericParser

source code

object --+
         |
        GenericParser
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, start)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
preprocess(self, rule, func) source code
 
addRule(self, doc, func) source code
 
collectRules(self) source code
 
augment(self, start) source code
 
makeFIRST(self) source code
 
typestring(self, token) source code
 
error(self, token) source code
 
parse(self, tokens) source code
 
buildState(self, token, states, i, tree) source code
 
buildTree(self, tokens, tree, root) source code
 
buildTree_r(self, stack, tokens, tokpos, tree, root) source code
 
ambiguity(self, children) source code
 
resolve(self, list) source code

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

Class Variables [hide private]
  _START = 'START'
  _EOF = 'EOF'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, start)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)