class_docstr: Style class that can dynamically returns an other Style.
  
  :param get_style: Callable that returns a :class:`.Style` instance.
class_docstr_tok: ["Style","class","that","can","dynamically","returns","an","other","Style",".",":","param","get_style",":","Callable","that","returns","a",":","class",":","`",".Style","`","instance","."]
code: def get_attrs_for_token(self, token):
      style = self.get_style()
      assert isinstance(style, Style)
  
      return style.get_attrs_for_token(token)
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/styles/base.py
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from collections import namedtuple
  from six import with_metaclass
label_desc: Use image node_id 2 for calling the DynamicStyle obj's underlying member method code with example usage: obj.get_attrs_for_token(token) and returns: style