(self, token)
return self.tokens.index(token)
Return list index of token.
Return list index of token.
Return list index of token .
def token_index(self, token):
        """Return list index of token."""
        return self.tokens.index(token)
def token_index ( self , token ) : return self . tokens . index ( token )