示例#1
0
 def helper(string):
     chars = CharIterator(string)
     return parse_class_selector(chars), ''.join(chars)
示例#2
0
 def helper(string):
     chars = CharIterator('({})'.format(string))
     return parse_selector_args(chars)
示例#3
0
 def helper(string):
     chars = CharIterator(string)
     return parse_keyword(chars), ''.join(chars)
示例#4
0
 def helper(string):
     chars = CharIterator(string)
     return parse_number(chars), ''.join(chars)
示例#5
0
 def helper(string):
     chars = CharIterator(string)
     keyword, unknown_keyword = parse_keyword(chars)
     return keyword, unknown_keyword, ''.join(chars)