Package Bio :: Package GenBank :: Module LocationParser :: Class LocationScanner
[hide private]
[frames] | no frames]

Class LocationScanner

source code

Parsers.spark.GenericScanner --+
                               |
                              LocationScanner

Instance Methods [hide private]
 
__init__(self) source code
 
tokenize(self, input) source code
 
t_double_colon(self, input)
:
source code
 
t_double_dot(self, input)
\.\.
source code
 
t_dot(self, input)
\.(?!\.)
source code
 
t_caret(self, input)
\^
source code
 
t_comma(self, input)
\,
source code
 
t_integer(self, input)
-?[0-9]+
source code
 
t_unsigned_integer(self, input)
[0-9]+
source code
 
t_colon(self, input)
:(?!:)
source code
 
t_open_paren(self, input)
\(
source code
 
t_close_paren(self, input)
\)
source code
 
t_symbol(self, input)
[A-Za-z0-9_'*-][A-Za-z0-9_'*.-]*
source code
 
t_less_than(self, input)
<
source code
 
t_greater_than(self, input)
>
source code

Inherited from Parsers.spark.GenericScanner: error, makeRE, reflect, t_default

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Parsers.spark.GenericScanner.__init__

tokenize(self, input)

source code 
Overrides: Parsers.spark.GenericScanner.tokenize

t_double_colon(self, input)

source code 

: