Package EasyExtend :: Package trail :: Module nfalexer :: Class NFALexer
[hide private]
[frames] | no frames]

Class NFALexer

object --+    
         |    
     Lexer --+
             |
            NFALexer

Instance Methods [hide private]
 
_init_subtrees(self, sym)
 
_new_cursor(*args, **kwargs)
 
_store_token(self, sym, cursor, sub_trees, tok)
 
_terminate(self, sym, cursor, a)
 
_derive_tree(self, sym, cursor, sub_trees)
 
handle_error(self, sym, cursor, sub_trees, tok, selection)
 
parse(self, tokstream, start_symbol=None)
 
is_pseudo_reachable(self, c, s)
 
_dbg_info(self, selection, char, T, move)
 
__dbg_info(self, selection, char, sym)
 
_parse(self, tokstream, sym, c)
 
_process_cst(*args, **kwargs)
Scanning is considered as an action that mediates an input stream of characters ( original token-stream ) and a partitioned output stream.
 
scan(self, tokstream)

Inherited from Lexer: __init__, create_graph, get_token_type, is_pseudotoken, matches

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_new_cursor(*args, **kwargs)

 
Decorators:
  • @EasyExtend.util.psyco_optimized

_process_cst(*args, **kwargs)

 

Scanning is considered as an action that mediates an input stream of characters ( original token-stream ) and a partitioned output stream.

The partitioning takes the set nfamodule.terminals into consideration because those are actually required by the parser.

If no corresponding node id could be found take the first node subsequent to unit.

Decorators:
  • @EasyExtend.util.psyco_optimized