Package Bio :: Module Decode
[hide private]
[frames] | no frames]

Module Decode

source code

Classes [hide private]
  Token
  ValueToken
  Integer
  Float
  String
  FunctionName
  DecodeScanner
  Function
  DecodeParser
  FunctionCall
  FunctionCallChain
Functions [hide private]
 
unescape_C(s) source code
 
join_english(fields) source code
 
chomp(s, c) source code
 
lchomp(s, c) source code
 
chompchomp(s, c) source code
 
fixspaces(s) source code
 
join_fixspaces(lines) source code
 
tr(s, frm, to) source code
 
safe_int(s)
converts to int if the number is small, long if it's large
source code
 
_fixup_defs() source code
 
scan(input) source code
 
parse(tokens) source code
 
make_decoder(s) source code
 
_verify_subtypes(subset, total, old_name, new_name) source code
 
make_typechecked_decoder(s, input_types=None, output_types=None) source code
 
test() source code
Variables [hide private]
  decode_functions = {'add': (<function <lambda> at 0xf96398>, (...
  _decoder_cache = {}
  _typechecked_decoder_cache = {}
Variables Details [hide private]

decode_functions

Value:
{'add': (<function <lambda> at 0xf96398>,
         (<type 'int'>),
         (<type 'int'>)),
 'chomp': (<function chomp at 0x104ae60>,
           (<type 'str'>),
           (<type 'str'>)),
 'chompchomp': (<function chompchomp at 0xf918c0>,
                (<type 'str'>),
...