def RestrictField(self, field_name):
    return Token(chars=self.chars, position=self.position,
                 field_name=field_name)
Creates a copy of this Token and sets field_name.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/search/stub/tokens.py/Token.RestrictField