def indicates_division(token):
    if token.type == 'operator':
        return token.value in (')', ']', '}', '++', '--')
    return token.type in ('name', 'number', 'string', 'regexp')
A helper function that helps the tokenizer to decide if the current
dataset/ETHPy150Open mbr/Babel-CLDR/babel/messages/jslexer.py/indicates_division