def helper(string): chars = CharIterator(string) return parse_class_selector(chars), ''.join(chars)
def helper(string): chars = CharIterator('({})'.format(string)) return parse_selector_args(chars)
def helper(string): chars = CharIterator(string) return parse_keyword(chars), ''.join(chars)
def helper(string): chars = CharIterator(string) return parse_number(chars), ''.join(chars)
def helper(string): chars = CharIterator(string) keyword, unknown_keyword = parse_keyword(chars) return keyword, unknown_keyword, ''.join(chars)