Beispiel #1
0
 def helper(string):
     chars = CharIterator(string)
     return parse_class_selector(chars), ''.join(chars)
Beispiel #2
0
 def helper(string):
     chars = CharIterator('({})'.format(string))
     return parse_selector_args(chars)
Beispiel #3
0
 def helper(string):
     chars = CharIterator(string)
     return parse_keyword(chars), ''.join(chars)
Beispiel #4
0
 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)