parameters: (self, grammar)
docstring: Initializer.
  
          Creates an attribute for each grammar symbol (nonterminal),
          whose value is the symbol's type (an int >= 256).
docstring_summary: Initializer.
docstring_tokens: Initializer .
function: def __init__(self, grammar):
          """Initializer.
  
          Creates an attribute for each grammar symbol (nonterminal),
          whose value is the symbol's type (an int >= 256).
          """
          for name, symbol in grammar.symbol2number.iteritems():
              setattr(self, name, symbol)
function_tokens: def __init__ ( self , grammar ) : for name , symbol in grammar . symbol2number . iteritems ( ) : setattr ( self , name , symbol )