(self, typ, word, params)
return self.next
Return next token if 'word' matches this token.
Return next token if 'word' matches this token.
Return next token if word matches this token .
def get_next(self, typ, word, params):
        """Return next token if 'word' matches this token."""
        if not self.is_acceptable(typ, word):
            return None
        self.set_param(typ, word, params)
        return self.next
def get_next ( self , typ , word , params ) : if not self . is_acceptable ( typ , word ) : return None self . set_param ( typ , word , params ) return self . next