Logo Search packages:      
Sourcecode: yapps2 version File versions  Download package

def runtime::Parser::_peek (   self,
  types 
) [private]

Returns the token type for lookahead; if there are any args
then the list of args is the set of token types to allow

Definition at line 193 of file runtime.py.

00193                            :
        """Returns the token type for lookahead; if there are any args
        then the list of args is the set of token types to allow"""
        tok = self._scanner.token(self._pos, types)
        return tok[2]
        
    def _scan(self, type):


Generated by  Doxygen 1.6.0   Back to index