Get params from stack of tokens

def get_params(self, token_stack):
        """Get params from stack of tokens"""
        params = {}
        for token in token_stack:
            params.update(token.params)
        return params